047C
Jump to navigation
Jump to search
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.