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

World editor - How to make a rematch option..

Status
Not open for further replies.
Level 1
Joined
Jun 17, 2006
Messages
2
at the end of the game.
It's kind of annyoing playing a game and when it ends Me and friends (or random people) wanna play again then we have to remake blah blah.
so can annyoing tell me how to make a rematch option at the of the game?
 
Level 5
Joined
Jul 26, 2004
Messages
99
Instead of inserting a defeat condition where it would normally go to end your game, enter a dialog that asks if the players would like a rematch.

After you've run checks to see if the majority of the players voted for "yes", run the necessary triggers to recreate any units that need to be alive that were destroyed, reset any variables that were modified throughout the game etc.

It's a lot more work than you'd originally think (especially if your map is complicated. For a simpler map like enfo's, it isn't too hard).
 
Status
Not open for further replies.
Top