GTAG - Modding - Opcode Database - 05F7
Opcode Database
05F7
| Description | Checks if the character is within the angled 2D area. |
|---|---|
| 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) Angle (Float) (FLOAT) 7) Boolean (1 or 0) (INT) |
| Games | |
| Category | Actor, Conditional, Locate |
| San Andreas | |
| sascm.ini | 05F7=7, is_char_in_angled_area_on_foot_2d %1d% from %2d% %3d% to %4d% %5d% angle %6d% sphere %7h% |
| Example | 05F7: is_char_in_angled_area_on_foot_2d $hActor from 1030.105 2095.715 to 1054.818 2098.778 angle 16.0 sphere 0 |
| Command Name | IS_CHAR_IN_ANGLED_AREA_ON_FOOT_2D |
| Vice City | |
| sascm.ini | 05F7=2,%2d% = label %1p% offset |
| Example | 05F7: 0@ = label @label offset |
| GTA III | |
| gtascm.ini | 05F7=2,%2d% = label %1p% offset |
| Example | 05F7: 0@ = label @label offset |

