Difference between revisions of "047B"
Jump to navigation
Jump to search
(Z's dead, baby, Z's dead...) |
|||
Line 17: | Line 17: | ||
:: Display a debug [[blip]] | :: 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]]. | + | 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]]. 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
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. For the blip to be visible continuously this opcode must be placed in a loop with a wait of 0.