OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Ironman on 18 Mar 2008, 04:19:20
-
I am trying to detect if a bridge has been blown in northern Sahrani. It's ID number is 444824.
The bridge cannot be grouped with a trigger so I was trying to use something like:
!alive 444824; <-- in the trigger condition field
aparantly something that might seem obvious was not so obvious.... someone should know the answer..
-
!alive (object 444824)
that should work
-
The command, object, doesn't work in ArmA! The best thing to do is to place a GameLogic close to the bridge (give it the var-name "bridgeLogic") and use a trigger with condition:
not (alive ((getPos bridgeLogic) nearestObject 444824))
(you could use an invisible marker instead of the GameLogic if you'd prefer and use getMarkerPos to get the position).
-
Thanks, I will try that....