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

[Trigger] restart?

Status
Not open for further replies.
Ah, very easy. First, make the innitilization Look like this:
  • Initilization
  • Event
    • Player - Player 1 types As Exact Match (-Restart)
  • Conditions
    • Restart = true
  • Actions
    • Your Actions...
    • set udg_Restart = false
Then create another Trigger
  • Start Game
  • Event
    • Map Initilization
  • Conditions
  • Actions
    • Run Initilization.gen ignoring conditions
Finaly your end game trigger should look like this:
  • End Game
  • Event
    • Your Event
  • Conditons
    • Your Conditions
  • Actions
    • Your Actions
    • set udg_Restart = true
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
Simply delete all units and put them to "where should they be at start"
same for quests
same for everything else

and dont use upgrades
 
Status
Not open for further replies.
Top