Difference between revisions of "02EE"
Jump to navigation
Jump to search
(Created page with "{{OpCode | games = {{Icon|3}} | command = IS_PROJECTILE_IN_AREA | description = Checks if any projectile is within the 3d area | syntax1 = 02EE: projectil...") |
m |
||
Line 2: | Line 2: | ||
| games = {{Icon|3}} | | games = {{Icon|3}} | ||
| command = IS_PROJECTILE_IN_AREA | | command = IS_PROJECTILE_IN_AREA | ||
− | | description = Checks if any projectile is | + | | description = Checks if any projectile is in the 3d area |
| syntax1 = 02EE: projectile_in_cube [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6''] | | syntax1 = 02EE: projectile_in_cube [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6''] | ||
| p1t = [''flt1''] | | p1t = [''flt1''] | ||
Line 18: | Line 18: | ||
}} | }} | ||
− | This conditional opcode returns true if any projectile is within the | + | This conditional opcode returns true if any projectile is within the cubic area. A projectile can be a [[Weapon#GTA III|Grenade, Molotov Cocktail, or Missile]]. |
+ | |||
+ | == Keywords == | ||
+ | check, projectile, area, 3d, cube | ||
== See also == | == See also == | ||
− | * {{Icon|3}} [[02EF]], destroys | + | * {{Icon|3}} [[02EF]], destroys projectiles in area |
Latest revision as of 14:05, 16 December 2016
- Description
- Checks if any projectile is in the 3d area
- Syntax
- 02EE: 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 conditional opcode returns true if any projectile is within the cubic area. A projectile can be a Grenade, Molotov Cocktail, or Missile.
Keywords
check, projectile, area, 3d, cube
See also
- 02EF, destroys projectiles in area