OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: mr dna on 17 Apr 2004, 05:50:43
-
can anyone explain how i can set off a trigger when a unit in the players group has stolen an enemy chopper?
-
I dunno if this will work, but in condition, put this:
driver vehicle heli1 == player
-
you can make a group name but putting
mygroup=groupthis
inside the officers init line
(think you can put it in any group members.. but most use the officer)
and then
mygroup in heli1
should work i think...
i know it works for individual players when you use their names.. not sure if you need slightly different syntax for a whole or part of a group.
:cheers:
-
Trigger condition: driver myVehicle in units group leader player
my suggestion :)
Cheers
PiLLe
€dit: Forgot to add "units".
Also, it works. Used it in:
http://home.arcor.de/sidargo/helotrap.wmv
;)
-
thnx guys that should work nicely