Home   Help Search Login Register  

Author Topic: Trigger react to specific group presence  (Read 532 times)

0 Members and 1 Guest are viewing this topic.

Tomasz

  • Guest
Trigger react to specific group presence
« on: 01 Oct 2004, 22:04:23 »
Hey,

1st, what do I need to write in the condition field of a trigger so that it activates only for certain ( given the name) groups.

2nd, how do I make a trigger react to only land units ( I have choppers flying taking all of the triggers :P ::))

3rd, this is stupid, some time ago I could have answered this, but now I'm just confused, how do I make a trigger react when a certain waypoint is reached ( is it condition none and only synchronized with the WP?)?
 
thanks

Tomasz


DBR_ONIX

  • Guest
Re:Trigger react to specific group presence
« Reply #1 on: 01 Oct 2004, 23:14:19 »
1: What do you mean? Say only machine gunners and snipers, not black ops to trigger the trigger?
2: In the condition, and something to do with the unittype command (Check if it's =1, or maybe 2.. I can't remeber)
3: Put in the triggers activation, wp01reached = true
and the condtion of the trigger
wp01reached
Or maybe
wp01reached = true

Sorry I can help more  :-\
- Ben

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Trigger react to specific group presence
« Reply #2 on: 02 Oct 2004, 00:12:48 »
1.  If you want a trigger fired by only one group, group the trigger to the group leader and you get new options in the On Activation box.

If you want to be fired by several groups, but not others, it's more complicated and depends on precisely what you want.    You'll need to use thislist ... and it would also help to create an array of the relevant units at the start of the mission.  

Condition:  this and (thislist select 0 in groupArray)

2.  

Condition:  this and (counttype thislist "land" > 1)

Syntax very unguaranteed.


3.  Do not synchronise the trigger and waypoint.  This is for doing things the other way around - the group will not pass teh waypoint till the trigger is fired.   If you want  to fire a trigger when a waypoint is completed, use a variable.

Waypoint
On Activation:   way1=true

Trigger
Condition:  way1
Plenty of reviewed ArmA missions for you to play