Difference between revisions of "02EF"

From GTAMods Wiki
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
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
| games      = {{Icon|3}}
 
| games      = {{Icon|3}}
 
| command    = DESTROY_PROJECTILES_IN_AREA
 
| command    = DESTROY_PROJECTILES_IN_AREA
| description = Destroys any projectile within the 3d area
+
| description = Destroys any projectile in the 3d area
 
| syntax1    = 02EF: destroy_projectile_in_cube [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6'']
 
| syntax1    = 02EF: destroy_projectile_in_cube [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6'']
 
| p1t        = [''flt1'']
 
| p1t        = [''flt1'']
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 cubic area. A projectile can be a [[Weapon#GTA III|Grenade, Molotov Cocktail, or Missile]]. This opcode is also conditional, returning true if any projectile is destroyed.
 +
 
 +
== Keywords ==
 +
destroy, projectile, area, 3d, cube
  
 
== See also ==
 
== See also ==
 
* {{Icon|3}} [[02EE]], checks if projectile is in area
 
* {{Icon|3}} [[02EE]], checks if projectile is in area

Latest revision as of 14:08, 16 December 2016

GTA III DESTROY_PROJECTILES_IN_AREA


Description
Destroys any projectile in 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 cubic area. A projectile can be a Grenade, Molotov Cocktail, or Missile. This opcode is also conditional, returning true if any projectile is destroyed.

Keywords

destroy, projectile, area, 3d, cube

See also

  • GTA III 02EE, checks if projectile is in area