Hi,
i have 2 questions:
1. How to remove a sound efficiently?
that's my current code.
2. How to pick every unit in playable map area?
is this correct?
thanks
i have 2 questions:
1. How to remove a sound efficiently?
JASS:
local sound s
set s = CreateSound("gg_snd_SomeSound", false, false, true, 12700, 12700, "")
call StartSound(s)
call KillSoundWhenDone(s)
set s = null
2. How to pick every unit in playable map area?
JASS:
call GroupEnumUnitsInRect(g, bj_mapInitialPlayableArea, null)
thanks