0523
Revision as of 05:51, 22 December 2016 by Spaceeinstein (talk | contribs)
HAS_GLASS_BEEN_SHATTERED_NEARBY
- Description
- Checks if glass has been shattered near the specified location
- Syntax
- 0523: glass_been_shattered_near [flt1] [flt2] [flt3]
- Parameter
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate
This conditional opcode returns true if a glass map object has been shattered near the specified location. The opcode detects any glass within a 20-unit radius to the center of the glass. If there is more than one glass within the radius, glass that is closest to the coordinates point takes the highest priority. The original script called this opcode during "Shakedown."
Keywords
check, glass, shatter, shattered