Jass:TriggerActionUnitRescuedBJ
Aus Mappedia
| Funktion: TriggerActionUnitRescuedBJ | |
|---|---|
| Parameter: | nothing |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function TriggerActionUnitRescuedBJ takes nothing returns nothing local unit theUnit = GetTriggerUnit() if IsUnitType(theUnit, UNIT_TYPE_STRUCTURE) then call RescueUnitBJ(theUnit, GetOwningPlayer(GetRescuer()), bj_rescueChangeColorBldg) else call RescueUnitBJ(theUnit, GetOwningPlayer(GetRescuer()), bj_rescueChangeColorUnit) endif endfunction
