- Joined
- Jul 10, 2008
- Messages
- 353
JASS:
function ActionsOnSelect takes nothing returns nothing
local sound snd = CreateSound("Buildings\\Human\\HumanTower\\ArcaneTowerWhat1.wav", false, true, true, 10, 10, "DefaultEAXON")
call SetSoundDuration(snd, GetSoundFileDuration("Buildings\\Human\\HumanTower\\ArcaneTowerWhat1.wav"))
call SetSoundChannel(snd,1)
call SetSoundVolume(snd,127)
call SetSoundPitch(snd,1)
call SetSoundDistances(snd, 3000, 10000)
call SetSoundDistanceCutoff(snd, 100000)
call StartSound(snd)
call KillSoundWhenDone(snd)
set snd = null
endfunction