Difference between revisions of "0523"
Jump to navigation
Jump to search
(Created page with "{{Icon|VC}} '''HAS_GLASS_BEEN_SHATTERED_NEARBY''' <hr /> '''Description''' : Checks if glass has been shattered near the specified location '''Syntax''' : 0523: glass_b...") |
m |
||
Line 1: | Line 1: | ||
− | {{Icon|VC}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} | |
− | + | | command = HAS_GLASS_BEEN_SHATTERED_NEARBY | |
− | + | | description = Checks if glass has been shattered near the specified location | |
− | + | | syntax1 = 0523: glass_been_shattered_near [''flt1''] [''flt2''] [''flt3''] | |
− | + | | p1t = [''flt1''] | |
− | + | | p1d = X-coordinate | |
− | + | | p2t = [''flt2''] | |
− | + | | p2d = Y-coordinate | |
− | + | | p3t = [''flt3''] | |
− | + | | p3d = Z-coordinate | |
− | + | }} | |
− | |||
− | This 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 | + | 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 [[Main.scm|original script]] called this opcode during "Shakedown." |
== Keywords == | == Keywords == | ||
check, glass, shatter, shattered | check, glass, shatter, shattered | ||
− | |||
− |
Latest revision as of 05:51, 22 December 2016
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