World editor - How to make a rematch option..

Status
Not open for further replies.

bloodblade

B

bloodblade

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?
 
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.
Back
Top