047C

From GTAMods Wiki
Revision as of 17:48, 9 August 2015 by Seemann (talk | contribs)
Jump to navigation Jump to search

GTA III LOCATE_SNIPER_BULLET_3D


Description

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

Syntax

047C: locate_sniper_bullet_at [flt1] [flt2] [flt3] offset [flt4] [flt5] [flt6] sphere [int]

Parameter

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

This opcode checks if there is a sniper bullet within the specified 3d area. If the int parameter set to 1, it also highlights the area with a blue blip. For the blip to be visible continuously this opcode must be placed in a loop with a wait of 0.