Difference between revisions of "047C"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|3}} '''LOCATE_SNIPER_BULLET_3D''' <hr /> '''Description''' : Checks if there is a sniper bullet within the specified 3d area '''Syntax''' :047C: locate_sniper_bullet_at...")
 
Line 21: Line 21:
 
:: Display a debug [[blip]]
 
:: 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]].
+
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 [[0001|wait]] of 0.
  
 
[[Category:OpCodes]]
 
[[Category:OpCodes]]

Revision as of 17:48, 9 August 2015

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.