• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Wanting help with a dueling concept.

Status
Not open for further replies.
Level 1
Joined
Apr 26, 2008
Messages
3
Ok, I'm making a AOS map which initiates a "duel" when a timer expires. My goal is to make it so theres are 3 random duel events, but for now I'm trying to wrap my head around a free for all event. I've got everything sorted up until the duel ends.

So the parts that I need help with are:
A trigger to set all alliances back to how they were. Team 1 being Players 1,2,3,4,5 and 6 and Team 2 being 7,8,9,10,11,12. (I did this by doing it manually for 12 different players, resulting in ALOT of un needed triggers I suspect)

A condition to determine who the victor is (last person standing). I tried using...

Event
Unit -a unit dies
Conditions
Unit -((Triggering unit)is a Hero) equal to True
Number of units in (Units in Duel Area <gen>) equal to 1

The 2nd condition doesnt seem to work.

Any push in the right direction would be greatly appreciated.
 
Status
Not open for further replies.
Top