GTAG - Modding - Opcode Database - 05F6
Opcode Database
05F6
| Description | SA Checks if the character is within the angled 2D area. III & Vice City w/ CLEO Returns the scm-function. Contains a list of function return value, the number is controlled by the first parameter opcode and must match the number of variables receivers in the 05F5. |
|---|---|
| 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, III CLEO, Locate, Locate, VC CLEO |
| Command Name (IV) | IS_CHAR_IN_ANGLED_AREA_2D |
| San Andreas | |
| sascm.ini | 05F6=7, is_char_in_angled_area_2d %1d% ll_corner %2d% %3d% lr_corner %4d% %5d% angle %6d% sphere %7h% |
| Example | 05F6: is_char_in_angled_area_2d $PLAYER_ACTOR ll_corner 2198.686 -2180.832 lr_corner 2116.212 -2263.317 angle 82.0 sphere 0 |
| Command Name | IS_CHAR_IN_ANGLED_AREA_2D |
| Vice City | |
| sascm.ini | 05F6=-1,ret %1d% |
| Example | 05F6: ret 0 |
| GTA III | |
| gtascm.ini | 05F6=-1,ret %1d% |
| Example | 05F6: ret 0 |

