Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 05F6

Opcode Database

05F6

DescriptionSA
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)
Gamessa vc iii
CategoryActor, Conditional, III CLEO, Locate, Locate, VC CLEO
Command Name (IV)IS_CHAR_IN_ANGLED_AREA_2D
San Andreas
sascm.ini05F6=7, is_char_in_angled_area_2d %1d% ll_corner %2d% %3d% lr_corner %4d% %5d% angle %6d% sphere %7h%
Example05F6: 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 NameIS_CHAR_IN_ANGLED_AREA_2D
Vice City
sascm.ini05F6=-1,ret %1d%
Example05F6: ret 0
GTA III
gtascm.ini05F6=-1,ret %1d%
Example05F6: ret 0

<< 05F5

05F7 >>