But your hashtable version not contain the full code and i dont know how to build the rest =(
If i replace it, i will get many errors about missing variables...
Now i would be happy if i can write jass, its just these small spell that ruins my hole map, but i need it -.-
Can you take a...
Have you a tool to convert? Or do it by hand?
function GHTrigger takes handle s, string n returns trigger
return GetStoredInteger(udg_cache, I2S(H2I(s)), n)
if false then
return null
endif
endfunction
Jass tell me that it misses a "return" ?! Dont know if it is that... but...
How to convert this code to 1.24b ?
function SHHandle takes handle s, string n, handle v returns nothing
if v==null then
call FlushStoredInteger(udg_cache,I2S(H2I(s)),n)
else
call StoreInteger(udg_cache, I2S(H2I(s)), n, H2I(v))
endif
endfunction
function...
udg_testsound has sound objects in it, but what is "GetEnumplayer()" exactly and what i have to do with it?
I use normaly GUI, so i dont know much about jass, i am sorry for that =/
Hi, i dont know much about writing JASS, i have 18 sounds.
I want to play a random sound from 1-18...
In GUI it should be:
Play -Sound[random number between 1-18] for (owner of casting unit)
But in GUI the sound is play for all players.
Can someone write the custom code for me please?
Okay but now i cant toss allied players, thats not what i want. I want only that you can attack neutrals too with this spell. (Now its only "isplayerenemy")