Guys hello to everyone! Help to understand, I can not understand what's wrong. The meaning is such that I in a non-standard code prescribed functions!
In one trigger, when I call them all right, everything works fine, and in another trigger it says that there is no such function and it does not really save anything and the card does not work
JASS:
function SaveUnit takes handle param1, string param2, unit value returns nothing
call SaveUnitHandle(udg_Cache, GetHandleId(param1), StringHash(param2), value)
endfunction
function GetUnit takes handle param1, string param2 returns unit
return LoadUnitHandle(udg_Cache, GetHandleId(param1), StringHash(param2))
endfunction
In one trigger, when I call them all right, everything works fine, and in another trigger it says that there is no such function and it does not really save anything and the card does not work
Last edited by a moderator: