OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: sabra on 02 Apr 2003, 16:36:18

Title: triggers??
Post by: sabra on 02 Apr 2003, 16:36:18
I suppose this question has come up about a hundred times.
I am trying to make a helicopter move when a trigger is activated. I have a helicopter somewhere on the map. When the east detects the soldier (west) I want the helicopter to take off and follow its waypoints simple?? not for me.

Thanks guys :)
Title: Re:triggers??
Post by: dmakatra on 02 Apr 2003, 16:40:22
Create a trigger, activated by west and detected by east.

Group the trigger with the player.

Make the trigger a switch trigger.

Make the first waypoint of the helicopter. Let the condition be something like jgkajsdglkhsrjkdghksdfjhgkjsdhfgjdfhgjkdfghkdjfhgkjd.

Group the trigger with the WayPoint.
Title: Re:triggers??
Post by: Hawkins on 02 Apr 2003, 16:43:24
nm ::) :P

Hawkins
Title: Re:triggers??
Post by: macguba on 02 Apr 2003, 17:14:49
I think Armstrong's been spending too much time eating the wrong kind of mushrooms. ;D

What he means is create your trigger (W detected by E and then grouped to the player ... you get different options in the Activation box after you have grouped it) and make it type: switch.     Use synchro (F5) to link it to the first waypoint of the chopper.    The chopper will stay at that waypoint until the trigger is fired.
Title: Re:triggers??
Post by: dmakatra on 02 Apr 2003, 17:21:25
mushrooms? Tasty... *Drools*

 ;D
Title: Re:triggers??
Post by: sabra on 02 Apr 2003, 17:35:13
umm group to player how do I do that??  :-[
Title: Re:triggers??
Post by: macguba on 02 Apr 2003, 17:55:41
go into groups mode (F2) and drag 'n' drop a line from the trigger to the unit in question (in this case theplayer unit) - it's just like synchro, or grouping one unit to another.

When you do that, you will get new options in the Activation box in the trigger.  :)
Title: Re:triggers??
Post by: sabra on 02 Apr 2003, 18:13:39
Thanx macguba it's working now  ;D