Difference between revisions of "02EF"
Jump to navigation
Jump to search
(Created page with "{{OpCode | games = {{Icon|3}} | command = DESTROY_PROJECTILES_IN_AREA | description = Destroys any projectile within the 3d area | syntax1 = 02EF: destroy_projec...") |
m |
||
Line 18: | Line 18: | ||
}} | }} | ||
− | This opcode destroys any projectile within the 3d area. A projectile can be a [[Weapon#GTA III|Grenade, Molotov Cocktail, or Missile]]. | + | This opcode destroys any projectile within the 3d area. A projectile can be a [[Weapon#GTA III|Grenade, Molotov Cocktail, or Missile]]. This opcode is also conditional, returning true if the projectile is destroyed. |
== See also == | == See also == | ||
* {{Icon|3}} [[02EE]], checks if projectile is in area | * {{Icon|3}} [[02EE]], checks if projectile is in area |
Revision as of 02:10, 10 June 2016
- Description
- Destroys any projectile within the 3d area
- Syntax
- 02EF: destroy_projectile_in_cube [flt1] [flt2] [flt3] [flt4] [flt5] [flt6]
- Parameter
- [flt1]
- X-coordinate of one corner of area
- [flt2]
- Y-coordinate of one corner of area
- [flt3]
- Z-coordinate of one corner of area
- [flt4]
- X-coordinate of other corner of area
- [flt5]
- Y-coordinate of other corner of area
- [flt6]
- Z-coordinate of other corner of area
This opcode destroys any projectile within the 3d area. A projectile can be a Grenade, Molotov Cocktail, or Missile. This opcode is also conditional, returning true if the projectile is destroyed.
See also
- 02EE, checks if projectile is in area