GTAG - Modding - Opcode Database - 00EC
Opcode Database
00EC
| Description | Returns true if the actor is near the specified point, irrelevant of height. |
|---|---|
| Parameters (v2) | 1) Actor handle (Integer) (INT) 2) X Coord (Float) (FLOAT) 3) Y Coord (Float) (FLOAT) 4) X Radius (Float) (FLOAT) 5) Y Radius (Float) (FLOAT) 6) Boolean (1 or 0) (INT) |
| Games | |
| Category | Actor, Common, Conditional, Locate, Locate |
| Command Name (IV) | LOCATE_CHAR_ANY_MEANS_2D |
| San Andreas | |
| sascm.ini | 00EC=6, locate_char_any_means_2d %1d% coords %2d% %3d% radius %4d% %5d% sphere %6d% |
| Example | 00EC: locate_char_any_means_2d $PLAYER_ACTOR coords 1812.369 -1929.922 radius 80.0 80.0 sphere 0 |
| Command Name | LOCATE_CHAR_ANY_MEANS_2D |
| Vice City | |
| sascm.ini | 00ec=6, actor %1d% %6bin-sphere/%near_point %2d% %3d% radius %4d% %5d% |
| Example | 00EC: actor $2251 in_sphere 0 near_point 466.1 42.7 radius 1.0 1.0 |
| Command Name | LOCATE_CHAR_ANY_MEANS_2D |
| GTA III | |
| gtascm.ini | 00ec=6, actor %1d% %6bin-sphere/%near_point %2d% %3d% radius %4d% %5d% |
| Example | 00EC: actor $PATIENT1 0 $PARAMEDIC_CREATE_PATIENT_X $PARAMEDIC_CREATE_PATIENT_Y radius 25.0 25.0 |
| Command Name | LOCATE_CHAR_ANY_MEANS_2D |

