OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Dubieman on 25 Jan 2005, 23:02:57
-
Well, I cannot believe that such a simple thing can escape me. Just wondering how to get the right code in a trigger condition to see if "truck" cannot move?
Some quickie code would be appreciated. I tried the Faq andsearch and either a display of nothing or a bunch of nonsense posts appear. ::)
thanks
-
erm, can it be as simple as this?
canmove vehicle_name
i have a similar code working on a 'chopper's broken' switch trigger condition -
not (canmove chopper)
hope this helps
:)
-
Note though that canMove takes no account of fuel levels, only the state of repair of the vehicle
-
Bah, my CHOFPSE is messing with my head, too many brackets and whirling colors. :D :P
Thanks bedges, forgive an older ofp person fer his mistake.
And let us never speak of it again.
*pats bedges on the back in threatening manner*:noo:
j/k ;D
cheers ;)
edit: Thobson, thanks for the info, never knew that. Shouldn't matter as the vehicles are stationary. ;)