Difference between revisions of "047B"

From GTAMods Wiki
Jump to navigation Jump to search
(need to verify correctness of information)
 
(Z's dead, baby, Z's dead...)
Line 4: Line 4:
 
: Checks if there is a sniper bullet within the specified 2d area
 
: Checks if there is a sniper bullet within the specified 2d area
 
'''Syntax'''
 
'''Syntax'''
:047B: locate_sniper_bullet_at [''flt1''] [''flt2''] [''flt3''] radius [''flt4''] sphere [''int'']
+
:047B: locate_sniper_bullet_at [''flt1''] [''flt2''] offset [''flt3''] [''flt4''] sphere [''int'']
 
'''Parameter'''
 
'''Parameter'''
 
: [''flt1'']
 
: [''flt1'']
Line 11: Line 11:
 
:: Y-coordinate
 
:: Y-coordinate
 
: [''flt3'']
 
: [''flt3'']
:: Z-coordinate
+
:: X-radius offset
 
: [''flt4'']
 
: [''flt4'']
:: Radius of an area
+
:: Y-radius offset
 
: [''int'']
 
: [''int'']
 
:: Display a debug [[blip]]
 
:: Display a debug [[blip]]

Revision as of 21:53, 4 February 2015

GTA III LOCATE_SNIPER_BULLET_2D


Description

Checks if there is a sniper bullet within the specified 2d area

Syntax

047B: locate_sniper_bullet_at [flt1] [flt2] offset [flt3] [flt4] sphere [int]

Parameter

[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
X-radius offset
[flt4]
Y-radius offset
[int]
Display a debug blip

This opcode checks if there is a sniper bullet within the specified 2d area. If the int parameter set to 1, it also highlights the area with a blue blip.