OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Praxtor on 01 Dec 2005, 01:17:13

Title: isengineon
Post by: Praxtor on 01 Dec 2005, 01:17:13
Hei guys can somebody confirm to me if is  isengineon the correct command  for check if one Addon tipe plane is with the enine on?
Example:

?(isengineon _plane) : goto "Animation"
 

Because i can use this for one Plane Addon and when the engine start it exec one animation.

Regards
Title: Re:isengineon
Post by: Planck on 01 Dec 2005, 01:28:43
Yes,

isEngineOn vehicle

Will return true is the engine is on and false if the engine is off.

Seems ok to me. :)

Did you try it yet?


Planck
Title: Re:isengineon
Post by: Praxtor on 01 Dec 2005, 03:14:28
ohhh yet no!, before i could know if it work correctly or if it have some bug, but when i try it i say to you.

Regards
Title: Re:isengineon
Post by: Praxtor on 01 Dec 2005, 18:50:08
Ohh yes this work correctly.
Thanks for all