Jass:PlaySound – Mappedia

Jass:PlaySound

Aus Mappedia
Wechseln zu: Navigation, Suche
Funktion: PlaySound
Parameter: string
Rückgabewert: nothing
Autor: Blizzard
Quelle: Blizzard.j
Synchron: Unbekannt



Code

function PlaySound takes string soundName returns nothing
    local sound soundHandle = CreateSound(soundName, false, false, true, 12700, 12700, "")
    call StartSound(soundHandle)
    call KillSoundWhenDone(soundHandle)
endfunction

Parameter

Typ Name Beschreibung
string soundName
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Warcraft-Mapping
Werkzeuge