Warcraft III resources & community, 2003–2006 · archived

Game Cache HELP!!!!

3 posts
#1

Game Cache HELP!!!!

Hi!
Here is my problem:

I made a campaign with a Main-Map and several sub-maps. But i got the problem with game caches.

I want to make, that, when i change from the main map to a sub map, that the area is saved and when i return from a sub map to the main map, the hero respawn in the area where i enter when i change the map... but he should have the same inventory, lvl, etc. Can someone make me 3 maps which are linked by this triggers? Or can someone explain me how to make that????

Thx 4 Helping!!!
#2
You can look at, for example, Return of The Dragons campaign, it is downloadable on this site, but unfortunatly it is 100MB+ :roll: Anyway, if you have it, look at map #1 and here's exaclty what you need.
#3
Explanation:
1) Save game
2) save hero to cache
3) load submap
4) restore hero from cache
5) <play>
6) when trying to return to main-map, save hero to cache
7) load mainmap
8) restore updated hero from cache

You must modify it to fit your all sub-maps, but its a skeleton. :roll: