Store Units

Status
Not open for further replies.
Level 2
Joined
Mar 1, 2009
Messages
13
How can I store (example) Paladin in the first map in a campaign and to load in the next with the lvl items and spells he had in the first?
 
gamecache is what you need, there should be a method in GUI or jass to store unit or hero, use it in first mission, and save the gamecache to file like mycache.cc, then use gamecache load to load the unit or hero into a unit variable in 2nd mission.

hashtable wont work since it doesn't physically write anything to a file on harddisk, it gets lost when map ends, its life span is same as the map's.
 
and how to store the abilities and the items that the player has taken in the first map and to load them in the next map?
 
Status
Not open for further replies.
Back
Top