Home   Help Search Login Register  

Author Topic: Kill/Destroy Sequence ArmA  (Read 1043 times)

0 Members and 1 Guest are viewing this topic.

Offline jhaglund

  • Members
  • *
Kill/Destroy Sequence ArmA
« on: 11 Aug 2007, 00:07:25 »
I'm wondering how to create a script/trigger, etc where one person/object needs to be ' not alive' before any other enemy units, and to have this linked to an End Trigger, or similar. I can work with a Trigger area or otherwise if someone has a good way to do this.

**idea is to sneak into an area and take out one thing before anything else and have the mission fail if this does not occur.

Thanks in advance

Offline DarkNova

  • Members
  • *
Re: Kill/Destroy Sequence ArmA
« Reply #1 on: 11 Aug 2007, 05:57:46 »
If i understand you correctly you can solve this with a global variable

name the unit u want to be killed: unit01

create a new trigger set size to 0 and in the condition field type:

Code: [Select]
not (alive unit01)
in the activation field type (could be any global variable you like) :

Code: [Select]
unit01dead = true
then in your the condition for your end trigger or in a waypoint put :

Code: [Select]
unit01dead