Home   Help Search Login Register  

Author Topic: Activating A Trigger When 35 east units are killed  (Read 454 times)

0 Members and 1 Guest are viewing this topic.

BHD Mod

  • Guest
Activating A Trigger When 35 east units are killed
« on: 21 Jun 2004, 06:14:05 »
What can i put into the condition field of a trigger that would activate it if a certain number of east units are killed? Also, how can i make all east units on a map play an animation at the same time? Thanks in advance

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Activating A Trigger When 35 east units are killed
« Reply #1 on: 21 Jun 2004, 10:31:10 »
1)

init.sqs

EStart=10000000

Area:  whole map
Activation box:  east present
Condition:   true
On Activation:    EStart = count thislist

Area: whole map
Activation box:  east present
Condition:  (count thislist) <= (EStart - 35)
On activation:  whatever


2)   Trigger

Area:  whole map
Activation box:   east present
Condition:  this and whatever
On activation:   "_x switchmove {whatever}" forEach thislist


Syntax not guaranteed.
Plenty of reviewed ArmA missions for you to play