Home   Help Search Login Register  

Author Topic: Ending mission when someone dies  (Read 1227 times)

0 Members and 2 Guests are viewing this topic.

Exodus

  • Guest
Ending mission when someone dies
« on: 27 Feb 2004, 20:27:36 »
alright i need some help, i need the mission to end when you kill a U.S. General, I know how to make the mission end with a trigger, but i want to make it end when this specific person dies. So if anyone can help me out please post it here or email me at goldenblade64@yahoo.com

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Ending mission when someone dies
« Reply #1 on: 27 Feb 2004, 21:22:55 »
trigger condition: !alive unitname
on activation,   whatever you need to do to end the mission
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Exodus

  • Guest
Re:Ending mission when someone dies
« Reply #2 on: 27 Feb 2004, 22:51:18 »
whats the unit name exactly?

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Ending mission when someone dies
« Reply #3 on: 28 Feb 2004, 02:03:05 »
Whatever name you have given the unit.  Open the unit propeties for the unit you want to check against (double click it), there you'll find a box to put in a "name", give it a name  "general".

Then in a trigger, put in the condition;

!alive General

You'll find that alot of people on the forums will replace words in the commands with generic terms.  Like UnitName or things like that.  Normally, if they are nice they will put the parts of the code you can change in italics, or colour, or some other type of formatting to make things obvious.