OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: cpt.Hawkeyez on 19 Jan 2003, 02:41:09

Title: Attach a trigger to unit
Post by: cpt.Hawkeyez on 19 Jan 2003, 02:41:09
Is it possible to attach a trigger to a unit so if a unit enters the trigger radius it sets off another script which calls in a team of 2 Hinds to circle the area. for a couple of minutes before returning back to base.


Hope you can help,
CymPaTheeY
Title: Re:Attach a trigger to unit
Post by: CptBravo on 19 Jan 2003, 05:56:58
Yes. Group the unit with the trig. (click on group and connect unit with trig).
Then in Trig click on activation and choose option: Vhicle, Group leader, Whole Group or any team memeber)
then click on present.

In Activation field: put the script the trig is going to call.

Hope that helps.
Title: Re:Attach a trigger to unit
Post by: cpt.Hawkeyez on 21 Jan 2003, 00:09:16
Doh! How could I have been so stupid. Its so easy.

Thanks