• 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

Status
Not open for further replies.
Level 1
Joined
Oct 18, 2013
Messages
1
Hey, I'm wondering how to make a certain trigger, that will allow the first player to gain a certain amount of lumber/gold to win.

Thanks in advance.
 
Level 16
Joined
Jul 31, 2012
Messages
2,217
This for example will make any player that have more than 1000 gold win the game, you can change that value in the trigger in your map, or change Gold to Lumber
  • Victory
    • Events
      • Player - Player 1 (Red)'s Current gold becomes Greater than or equal to 1000.00
      • Player - Player 2 (Blue)'s Current gold becomes Greater than or equal to 1000.00
      • Player - Player 3 (Teal)'s Current gold becomes Greater than or equal to 1000.00
      • Player - Player 4 (Purple)'s Current gold becomes Greater than or equal to 1000.00
      • Player - Player 5 (Yellow)'s Current gold becomes Greater than or equal to 1000.00
      • Player - Player 6 (Orange)'s Current gold becomes Greater than or equal to 1000.00
      • Player - Player 7 (Green)'s Current gold becomes Greater than or equal to 1000.00
      • Player - Player 8 (Pink)'s Current gold becomes Greater than or equal to 1000.00
      • Player - Player 9 (Gray)'s Current gold becomes Greater than or equal to 1000.00
      • Player - Player 10 (Light Blue)'s Current gold becomes Greater than or equal to 1000.00
      • Player - Player 11 (Dark Green)'s Current gold becomes Greater than or equal to 1000.00
      • Player - Player 12 (Brown)'s Current gold becomes Greater than or equal to 1000.00
    • Conditions
    • Actions
      • Game - Victory (Triggering player) (Show dialogs, Show scores)
 
Status
Not open for further replies.
Top