• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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 29
Joined
Feb 18, 2014
Messages
3,583
-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