OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Dog40Acoy on 21 Jul 2006, 16:31:59
-
Ok I am sure this is fairly simple-
I want to destroy a fuel station as part of the mission objectives.
Say for example the ID number is 124034 of the fuel station. How do I make a script via a trigger that when the fuel station is destroyed it checks off the objective. I know all the eg "3" ObjStatus "DONE" bit, but have drawn a complete blank on how to trigger that when fuel station 124034 is destroyed.
TY in advance
-
condition: getdammage (object 124034) >= 1; probably :)
-
Either
getdammage (object 124034) >= 1 as posted above or
! alive (object 124034)
-
Excellent thanks fellas
It works a treat.