• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Changing maps using triggers

Status
Not open for further replies.
Level 9
Joined
Jun 7, 2007
Messages
195
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