Jass:NearbyElevatorExists
Aus Mappedia
| Funktion: NearbyElevatorExists | |
|---|---|
| Parameter: | real real |
| Rückgabewert: | boolean |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function NearbyElevatorExists takes real x, real y returns boolean local real findThreshold = 32 local rect r // If another elevator is overlapping this one, ignore the wall. set r = Rect(x - findThreshold, y - findThreshold, x + findThreshold, y + findThreshold) set bj_elevatorNeighbor = null call EnumDestructablesInRect(r, null, function NearbyElevatorExistsEnum) call RemoveRect(r) return bj_elevatorNeighbor != null endfunction
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| real | x | |
| real | y |

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