Home   Help Search Login Register  

Author Topic: this inflame true  (Read 548 times)

0 Members and 1 Guest are viewing this topic.

Jester

  • Guest
this inflame true
« on: 27 Jan 2003, 15:12:39 »
I'm at a friends house and he doesn't have OFP so I can't test it but ..................... here is the Q


with this inflame true

can I put

~5 this inflame true

and have it delay for 5 seconds before it lights??


MorMel

  • Guest
Re:this inflame true
« Reply #1 on: 27 Jan 2003, 15:17:34 »
Hum... try a script. At the Activ. field it's not allowed to use time delay; at least in version 1.00.

better this way:

this exec "inflame.sqs"

----

~5
_this inflame true :)

Jester

  • Guest
Re:this inflame true
« Reply #2 on: 27 Jan 2003, 15:29:54 »
So if I wanted a line of streetlamps along a road light up
bing
bing
bing
bing

I could script it

~2
L1 this inflame true

~4
L2 this inflame true

~6
L3 this inflame true

~8
L4 this inflame true

Was thinking of a runway lighting up ..............


THX

Silver Fox

  • Guest
Re:this inflame true
« Reply #3 on: 30 Jan 2003, 12:37:01 »
Yes Mate, However a script is read from top to bottom like a book! So your time gaps would be:


Code: [Select]
~2 (wait 2 seconds)

do this

~2 (wait 2 seconds)

do this

~2 (wait 2 seconds)


You don't need to increse the numbers like 2, 4, 6, 8.

Sounds :P good

Offline Sefe

  • OFPEC Patron
  • Former Staff
  • ****
Re:this inflame true
« Reply #4 on: 30 Jan 2003, 14:08:00 »
Another thing is that you used th wrong syntax:

L1 this inflame true

Will cause an error. The correct syntax is:

L1 inflame true

This represents the actual lamp in it's init field. Outside the init field it's not defined.