GTAG - Modding - Opcode Database - 0106
Opcode Database
0106
| Description | Sets up a radius from a character where another 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) Actor handle (Integer) (INT) 3) X Radius (Float) (FLOAT) 4) Y Radius (Float) (FLOAT) 5) Z Radius (Float) (FLOAT) 6) Boolean (1 or 0) (INT) |
| Games | |
| Category | Actor, Common, Conditional, Locate, Locate |
| San Andreas | |
| sascm.ini | 0106=6, locate_char_in_car_char_3d %1d% car %2d% radius %3d% %4d% %5d% sphere %6h% |
| Example | 0106: locate_char_in_car_char_3d $PLAYER_ACTOR char 71@ radius 15.0 15.0 15.0 sphere 0 |
| Command Name | LOCATE_CHAR_IN_CAR_CHAR_3D |
| Vice City | |
| sascm.ini | 0106=6, actor %1d% near_actor_in_car %2d% radius %3d% %4d% %5d% %6h% ;; never used in VC or gta 3 |
| Example | 0106: actor $PLAYER_ACTOR near_actor 1@ radius 15.0 15.0 15.0 sphere 0 in_car |
| Command Name | LOCATE_CHAR_IN_CAR_CHAR_3D |
| GTA III | |
| gtascm.ini | 0106=6, actor %1d% near_actor_in_car %2d% radius %3d% %4d% %5d% %6h% |
| Example | 0106: actor $PLAYER_ACTOR near_actor 1@ radius 15.0 15.0 15.0 sphere 0 in_car |
| Command Name | LOCATE_CHAR_IN_CAR_CHAR_3D |

