Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0471

Opcode Database

0471

DescriptionReturns true if the character is near the object.
Parameters (v2)1) Actor handle (Integer) (INT)
2) Object handle (Integer) (INT)
3) X Radius (Float) (FLOAT)
4) Y Radius (Float) (FLOAT)
5) Boolean (1 or 0) (INT)
Gamessa vc
CategoryActor, Conditional, Locate, Locate, Object
Command Name (IV)LOCATE_CHAR_ANY_MEANS_OBJECT_2D
San Andreas
sascm.ini0471=5, locate_char_any_means_object_2d %1d% object %2d% radius %3d% %4d% sphere %5h%
Example0471: locate_char_any_means_object_2d $PLAYER_ACTOR object $2727 radius 50.0 50.0 sphere 0
Command NameLOCATE_CHAR_ANY_MEANS_OBJECT_2D
Vice City
sascm.ini0471=5, actor %1d% within_object %2d% rectangle %3d% %4d% sphere %5h%
Example
Command NameLOCATE_CHAR_ANY_MEANS_OBJECT_2D

<< 0470

0472 >>