• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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