Jass:ModifyGateBJ
Aus Mappedia
| Funktion: ModifyGateBJ | |
|---|---|
| Parameter: | integer destructable |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function ModifyGateBJ takes integer gateOperation, destructable d returns nothing if (gateOperation == bj_GATEOPERATION_CLOSE) then if (GetDestructableLife(d) <= 0) then call DestructableRestoreLife(d, GetDestructableMaxLife(d), true) endif call SetDestructableAnimation(d, "stand") elseif (gateOperation == bj_GATEOPERATION_OPEN) then if (GetDestructableLife(d) > 0) then call KillDestructable(d) endif call SetDestructableAnimation(d, "death alternate") elseif (gateOperation == bj_GATEOPERATION_DESTROY) then if (GetDestructableLife(d) > 0) then call KillDestructable(d) endif call SetDestructableAnimation(d, "death") else // Unrecognized gate state - ignore the request. endif endfunction
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| integer | gateOperation | |
| destructable | d |

russische Team, stehen wir nun im Halbfinale vor einem weiteren Giganten der e-Sports-Szene:
Finnland! Die Skandinavier hatten es im Gegensatz zu unserem