OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: KingBuffalo on 24 Dec 2005, 19:02:47
-
I have an object (flag) that is to be captured. The capture is based on a trigger (i.e. east present), but I don't want east to be able to capture the flag by hovering over the flag in a helo.
Can I place something in the trigger that checks for the height of east when they are taking the flag so that it will not activate if they are greater than 1 or 2 meters above the ground? Thanks.
-
In the condition field of the trigger put:
this and ({getPos _x select 2 < 2} count thislist > 0)
Or some such.
-
i think it would be easyer to add the action 'take flag' to the flag pole ;)
-
thanks THobson, it appears to do the trick.