• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Changing maps using triggers

Status
Not open for further replies.
There is this native:
  • Set Next Map
    • Options: Action, Native
    • Return Type: (None)
    • Parameters
      • Map <String>
    • Grammar Text: Set the next map to Map File
    • Hint Text: Sets the next map to be run after current map finishes.
    • Custom Script Code
But I can't get it to work.

I made this simple test trigger:
  • Load Next Map
    • Events
      • Timer - Elapsed time is 2.5 Game Time seconds
    • Local Variables
    • Conditions
    • Actions
      • Game - Set the next map to "GE Test 001.SC2Map"
      • Game - End game in Tie for player 1 (Hide dialogs, Hide score screen)
But it won't work. I've tried different ways to type the file path, but none of them seem to work. It gives a blackscreen for a while and then pops up the SC2 login screen with a message "Unable to open map.".

So far I've tried these:
"GE Test 001.SC2Map"
"GE_Test_001.SC2Map"
"Maps/GE Test 001.SC2Map"
"Maps/GE_Test_001.SC2Map"

If anyone gets this to work, it would be appriciated if you could tell how you did it, thanks.

EDIT: (Darn, should've posted this to the Galaxy Editor Help Zone.)
 
Last edited:
Status
Not open for further replies.
Top