• 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] Loading Multiple Maps

Status
Not open for further replies.
Level 3
Joined
Sep 17, 2004
Messages
24
Was wondering if anyone had some information on changing maps instantly while in game. A good example of this is the FT orc campaign, where a different map loads when Rexxar enters a cave. I know my triggers well, but struggle with hashtables and saving/loading codes. I want to be able to enter a region on one map and have the game immediately enter a loading screen to jump to another map, transferring my hero. I want to be able to do this without going back to the campaign menu everytime I load a new map. I also want to return to previous maps in the same fashion. Like I said, any advice is appreciated, WC3 might be outdated, but still fun to make custom maps!
 
Level 28
Joined
Sep 26, 2009
Messages
2,520
I think what he means is that there is no score screen like when you end up a normal melee map.

In TFT orc campaign it's like this: Durotar -> other maps (echo isles, mine, canyon, etc.) and no score screen is shown when changing to these maps.
Other campaigns: You end one map -> score screen -> next map
 
Level 3
Joined
Sep 17, 2004
Messages
24
Ahh so it's that easy ehh? Thanks fellas! Now how do I transfer my hero across the maps? Along with all other jass-related equipment systems and what-not? If I assign the hero to a variable, could I use the hashtable to save/load him to the other map?
 
Last edited:
Level 28
Joined
Sep 26, 2009
Messages
2,520
Ahh so it's that easy ehh? Thanks fellas! Now how do I transfer my hero across the maps? Along with all other jass-related equipment systems and what-not? If I assign the hero to a variable, could I use the hashtable to save/load him to the other map?
That's what Game Cache is for - it can save units, reals, integers and booleans, but probably all code (every trigger) will have to be copied manually from map to map beforehand.

Look in the "Game Cache" list in the trigger action menu.
 
Status
Not open for further replies.
Top