GTAG - Modding - Opcode Database - 0103
Opcode Database
0103
| Description | Sets up a point on the map where the characters presence can be detected. If the 'sphere' bool is set to true, a cyllinder marker will indicate the position of the target point. This 'LOCATE' command returns true under the highlighted conditions:
|
|---|---|
| Parameters (v2) | 1) Actor handle (Integer) (INT) 2) X Coord (Float) (FLOAT) 3) Y Coord (Float) (FLOAT) 4) Z Coord (Float) (FLOAT) 5) X Radius (Float) (FLOAT) 6) Y Radius (Float) (FLOAT) 7) Z Radius (Float) (FLOAT) 8) Boolean (1 or 0) (INT) |
| Games | |
| Category | Actor, Common, Conditional, Locate, Locate |
| San Andreas | |
| sascm.ini | 0103=8, locate_stopped_char_in_car_3d %1d% coord %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8d% |
| Example | 0103: locate_stopped_char_in_car_3d $PLAYER_ACTOR coord -1577.942 52.6333 16.3281 radius 4.0 4.0 6.0 sphere 0 |
| Command Name | LOCATE_STOPPED_CHAR_IN_CAR_3D |
| Vice City | |
| sascm.ini | 0103=8, actor %1d% stopped_near_point_in_car %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8d% ;; never used in VC |
| Example | 0103: actor $PLAYER_ACTOR in_sphere -1577.942 52.6333 16.3281 radius 4.0 4.0 6.0 sphere 0 stopped_in_car |
| Command Name | LOCATE_STOPPED_CHAR_IN_CAR_3D |
| GTA III | |
| gtascm.ini | 0103=8, actor %1d% stopped_near_point_in_car %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8d% |
| Example | 0103: actor $PLAYER_ACTOR in_sphere -1577.942 52.6333 16.3281 radius 4.0 4.0 6.0 sphere 0 stopped_in_car |
| Command Name | LOCATE_STOPPED_CHAR_IN_CAR_3D |

