- Joined
- May 21, 2009
- Messages
- 994
So I'm creating a single player campaign which consist of 5 maps (Diablo II Recreation) the thing is, I'm wondering if you:
then if I call:
will it then transfer the real (3.) to the map that I'm loading the gamecache in? so I can get the struct via
?
JASS:
struct mystruct
real r
static method create takes real r returns mystruct
local mystruct = mystruct.allocate()
set .r = r
endmethod
endstruct
JASS:
local mystruct m = mystruct.create(3.)
call StoreInteger(gamecache, "1", "2", Struct)
JASS:
GetStoredInteger(gamecache, "1", "2", m)