MeleeGetCrippledTimerMessage
- Parameters
-
whichPlayer player
- comment
- patch
-
1.07
- Source
- Blizzard.j (suggest an edit or discuss on Github)
- return type
-
string
- Source code
-
function MeleeGetCrippledTimerMessage takes player whichPlayer returns string local race r = GetPlayerRace(whichPlayer) if (r == RACE_HUMAN) then return GetLocalizedString("CRIPPLE_TIMER_HUMAN") elseif (r == RACE_ORC) then return GetLocalizedString("CRIPPLE_TIMER_ORC") elseif (r == RACE_NIGHTELF) then return GetLocalizedString("CRIPPLE_TIMER_NIGHTELF") elseif (r == RACE_UNDEAD) then return GetLocalizedString("CRIPPLE_TIMER_UNDEAD") else // Unrecognized Race return "" endif endfunction