Carl-Fredrik
New Member
- Reaction score
- 51
Hi everyone! That might not've been the most accurate title but I didn't really know what to write, a mod is of course free to change it if he/she likes to.
My map isn't playable since the latest patch.
I think it's in this trigger (the H2I system):
Could some nice person take a look and fix it so that it'll be playable in 1.24?? And write down what you changed so that if I find more examples I'll be able to fix them myself?
Thanks in advance!
// Carl-Fredrik
Edit: Problem solved with saw792's help.
My map isn't playable since the latest patch.
I think it's in this trigger (the H2I system):
Code:
library LHV
globals
private gamecache GameCache = InitGameCache("jasslocalvars.w3v")
endglobals
function H2I takes handle h returns integer
return h
return 0
endfunction
function SetHandleInt takes handle subject, string name, integer value returns nothing
if value==0 then
call FlushStoredInteger(GameCache, I2S(H2I(subject)), name)
else
call StoreInteger(GameCache, I2S(H2I(subject)), name, value)
endif
endfunction
function GetHandleInt takes handle subject, string name returns integer
return GetStoredInteger(GameCache, I2S(H2I(subject)), name)
endfunction
function FlushHandleLocals takes handle subject returns nothing
call FlushStoredMission(GameCache, I2S(H2I(subject)) )
endfunction
endlibrary
Could some nice person take a look and fix it so that it'll be playable in 1.24?? And write down what you changed so that if I find more examples I'll be able to fix them myself?
Thanks in advance!
// Carl-Fredrik
Edit: Problem solved with saw792's help.