• 🏆 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!

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 28
Joined
Feb 18, 2014
Messages
3,576
-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