GTAG - Modding - Opcode Database - 02D6
Opcode Database
02D6
| Description | Returns true if the actor fired a weapon within the specified rectangular zone. |
|---|---|
| Parameters (v2) | 1) Actor handle (Integer) (INT) 2) X Coord (Float) (FLOAT) 3) Y Coord (Float) (FLOAT) 4) X Coord (Float) (FLOAT) 5) Y Coord (Float) (FLOAT) 6) Weapon ID (Integer) (INT) |
| Games | |
| Category | Actor, Conditional, Weapon |
| Command Name (IV) | IS_CHAR_SHOOTING_IN_AREA |
| San Andreas | |
| sascm.ini | 02D6=6, is_char_shooting_in_area %1d% from %2d% %3d% to %4d% %5d% weapon %6d% |
| Example | 02D6: is_char_shooting_in_area $PLAYER_ACTOR from -2774.03 -1572.78 to -2837.13 -1468.24 weapon 0 |
| Command Name | IS_CHAR_SHOOTING_IN_AREA |

