• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Map Transport

Status
Not open for further replies.
Level 3
Joined
Dec 17, 2007
Messages
28
How can I transport a Hero with its stats,items and exp from one map into second when he enters some region into first map to another region on second map???
(WOW-Like Map):wscrolleyes::wscrolleyes::wscrolleyes:
 
If you mean like the orc campaign then your gonna be sad... you can't.
Or you can, but only in a campaign of yourself meaning it can't be played online.

The best solution for this days is creating rpg's with a few maps where you can load your hero in.

This is done by copying the map and then changing the terrain (or copying every skill/unit/buff/doodads/Etc. you have created), the trick in this is that the save/load codes, save and load based on the name IDs of those things and if you have the same IDs at another map - it would save/load with the same codes.

If you have no idea what I just said now, click Ctrl+D in your editor and you will see the IDs in the Object Manager.
 
yes, you could play it online, just that all players must move to another map at the same time, cus it cre8tes a new server and u can't jump back to the server u were at before.
 
How can I transport a Hero with its stats,items and exp from one map into second when he enters some region into first map to another region on second map???
(WOW-Like Map):wscrolleyes::wscrolleyes::wscrolleyes:

Game caches.

  • Game cache - Create a game cache from (Cache.w3v)
  • Game cache - (unit) Store YourUnit as Hero1 in Heroes //fill these in with whatever
  • Game cache - (real) Store (Experience of YourUnit) as Hero1XP in Heroes
  • Game cache - Save (last created game cache)
And in the second map, to load them up again...

  • Game cache - Create a game cache from Cache.w3v
  • Game cache - Reload all game cache data from disk
  • Game cache - Restore Hero1 of Heroes at (insert point here)
  • Hero - Set experience of (Last restored unit) to (Game cache - Get Hero1XP in Heroes)
 
Gamecache doesn't work like that. Sorry. In Multiplayer maps it will likely glitch or not work, period.

Or someone will have a full gamecache... etc. As a rule of thumb, what he wants pretty much cannot be done for multiplayer games.
 
Status
Not open for further replies.
Back
Top