- Joined
- Aug 4, 2006
- Messages
- 357
hey i tried to use the "local handle vars" system to store and load local variables through a game cache. when it wasn't working properly, i did some debugging and found that either my StoreInteger(...) or GetStoredInteger(...) native functions are not doing anything. the same holds for storing other variable types. i can't even find any "game cache - load ..." functions in GUI in my world editor (v1.23 (6058) ).
is there any way to fix my world editor game cache functions so they will save/load properly?
here's my debugging code so you can check if i did something wrong:
and the output was:
"i0: 24"
"i1: 0"
i0 should equal i1, but it doesn't.
is there any way to fix my world editor game cache functions so they will save/load properly?
here's my debugging code so you can check if i did something wrong:
JASS:
set udg_localVars = InitGameCache("jasslocalvars.w3v")
set i = 24
call BJDebugMsg("i0: "+I2S(i))
call StoreInteger(udg_localVars, "test", "asdf", i)
set i = GetStoredInteger(udg_localVars, "test", "asdf")
call BJDebugMsg("i1: "+I2S(i))
"i0: 24"
"i1: 0"
i0 should equal i1, but it doesn't.