Jass:InitRescuableBehaviorBJ
Aus Mappedia
| Funktion: InitRescuableBehaviorBJ | |
|---|---|
| Parameter: | nothing |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function InitRescuableBehaviorBJ takes nothing returns nothing local integer index set index = 0 loop // If at least one player slot is "Rescuable"-controlled, init the // rescue behavior triggers. if (GetPlayerController(Player(index)) == MAP_CONTROL_RESCUABLE) then call TryInitRescuableTriggersBJ() return endif set index = index + 1 exitwhen index == bj_MAX_PLAYERS endloop endfunction
