• 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.

Victory Condition Help

Status
Not open for further replies.
Level 2
Joined
May 25, 2016
Messages
15
I need help coming up with a victory condition...

-players can ally or unally at any time
-dead players become undead with a hero

How do I make it so that when a single or group of allied human players win when:
-they are the only remaining human(s)
-there are no remaining undead heroes on the map

I think I can manage the undead heroes bit with a single condition, but I'm having trouble wrapping my head around allied players winning.

Thanks in advance for any advice or help.
 
Level 30
Joined
Feb 18, 2014
Messages
3,623
-they are the only remaining human(s)
Player Group - Pick every Player [Interger] and do actions :
You have to make sure that only your allies are still alive in the playable map.
-there are no remaining undead heroes on the map
Unit Group - Pick every unit (Matching condition- Picked unit is a hero equal to true) then do actions
You better store those undead heroes within a variable to easly set condition.
 
Status
Not open for further replies.
Top