[General] Hashtable -save -load system

Status
Not open for further replies.

Deleted member 231919

D

Deleted member 231919

Can you use a hashtable to save a unit from a previous game and then load that unit in the next game? Or are hashtable values temporary per game?

I tried looking this up but there is no information whatsoever.

Example:

You say -save

You leave the game

You enter another game of the same map

you say -load , and it loads your character and so on.
 
Level 5
Joined
Mar 6, 2015
Messages
130
no you can use game-cache to transfer data among maps
example:
  • Run this trigger to save data
    • Events some event
    • Conditions some conditions
    • Actions
      • Game Cache - Create a game cache from MapName.w3v
      • Game Cache - Store (Triggering unit) as myunit of Category in (Last created game cache)
      • Game Cache - Store (Name of (Triggering unit)) as unitName of Category in (Last created game cache)
 

Deleted member 231919

D

Deleted member 231919

Ah, okay.

Game-caches only work in single player. I need it for battle.net.

Thanks anyway.
 
Status
Not open for further replies.
Top