Jass:DelayedSuspendDecayFleshEnum
Aus Mappedia
| Funktion: DelayedSuspendDecayFleshEnum | |
|---|---|
| Parameter: | nothing |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function DelayedSuspendDecayFleshEnum takes nothing returns nothing local unit enumUnit = GetEnumUnit() if (GetUnitState(enumUnit, UNIT_STATE_LIFE) <= 0) then call UnitSuspendDecay(enumUnit, true) call SetUnitTimeScale(enumUnit, 10.0) call SetUnitAnimation(enumUnit, "decay flesh") endif endfunction
