GTAG - Modding - Opcode Database - 0472
Opcode Database
0472
| Description | Returns true if character is near the object on foot. |
|---|---|
| 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) |
| Games | |
| Category | Actor, Common, Conditional, Locate, Locate, Object |
| Command Name (IV) | LOCATE_CHAR_ON_FOOT_OBJECT_2D |
| San Andreas | |
| sascm.ini | 0472=5, locate_char_on_foot_object_2d %1d% object %2d% radius %3d% %4d% sphere %5h% |
| Example | 0472: locate_char_on_foot_object_2d $PLAYER_ACTOR object 0@ radius 5.0 5.0 sphere 0 |
| Command Name | LOCATE_CHAR_ON_FOOT_OBJECT_2D |
| Vice City | |
| sascm.ini | 0472=5, actor %1d% within_object_on_foot %2d% rectangle %3d% %4d% sphere %5h% |
| Example | 0472: actor $8014 within_object_on_foot $7976 rectangle 2.0 2.0 sphere 0 |
| Command Name | LOCATE_CHAR_ON_FOOT_OBJECT_2D |

