0523

From GTAMods Wiki
Revision as of 05:52, 29 June 2015 by Spaceeinstein (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Vice City 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 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 are 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