OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Olle Stolpe on 24 Feb 2005, 11:34:55

Title: Set a Trigger to react on a specific Unit
Post by: Olle Stolpe on 24 Feb 2005, 11:34:55
I want a trigger to react on a Scud-car. But only the specific one.

Like:

 Condition present [Unitname]


How do I do that?
Title: Re:Set a Trigger to react on a specific Unit
Post by: macguba on 24 Feb 2005, 12:00:36
Group the trigger to the unit and you get new options in the Activation box.
Title: Re:Set a Trigger to react on a specific Unit
Post by: Olle Stolpe on 24 Feb 2005, 13:00:14
thx
Title: Re:Set a Trigger to react on a specific Unit
Post by: RujiK on 24 Feb 2005, 16:46:04
Or condition: ((Vehicle Homie_G)in thislist)
Also the main condition (The thing with West,East,Anybody) will have to be set to anybody for this to work.
Title: Re:Set a Trigger to react on a specific Unit
Post by: Olle Stolpe on 25 Feb 2005, 01:23:38
I'll try the last one, maybe it'll work
Because now I have 4 different officers (it's an MP mission)
And I only want the mission to end when objective 1 and 2 is finished
and when all the officers are back in the base.

The officers are not grouped together so I cannot group them all to the trigger.
I have to make it know that all the human players are within it's range.