Jass documentation Database

JASS Documentation Database REFORGED


Results for the query "NearbyElevatorExists" as a "function"

The search keyword must be a single word (no spaces).

Function NearbyElevatorExists

Line: 4442
Location: blizzard.j
Constant? no
Type: function
Arguments: real x, real y
Returns: boolean

Preview

Extra spaces may have been removed from the original file to show the function in a comfortable way.
  1. function NearbyElevatorExists takes real x, real y returns boolean
  2.     local real findThreshold = 32
  3.     local rect r
  4.  
  5.     // If another elevator is overlapping this one, ignore the wall.
  6.     set r = Rect(x - findThreshold, y - findThreshold, x + findThreshold, y + findThreshold)
  7.     set bj_elevatorNeighbor = null
  8.     call RemoveRect(r)
  9.  
  10.     return bj_elevatorNeighbor != null
  11. endfunction
"That guy ’s nuts! Grab ’m!" Hmmm... there's no info about this keyword... be the first one in contribute with the keyword NearbyElevatorExists. You must be logged into the site in order to give us a hand in keeping updated the information. If you don't have an account, you can create one here.
Page loaded in 0.1122 seconds.
Vivir aprendiendo.co - A place for learning stuff, in Spanish   Chaos Realm - The world of Game modders and wc3 addicts   Diplo, a gaming community   Power of Corruption, an altered melee featuring Naga and Demon. Play it now!!!   WC3JASS.com - The JASS Vault + vJASS and Zinc   Jetcraft - A Starcraft II mod   WormTastic Clan (wTc)   Warcraft RESOURCES Reforged: Modelos, mapas, proyectos y mas...