GTAG - Modding - Opcode Database - 0105
Opcode Database
0105
| 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 | 0105=6, locate_char_on_foot_char_3d %1d% char %2d% radius %3d% %4d% %5d% sphere %6h% |
| Example | 0105: locate_char_on_foot_char_3d $PLAYER_ACTOR char 102@(42@,9i) radius 5.0 5.0 2.0 sphere 0 |
| Command Name | LOCATE_CHAR_ON_FOOT_CHAR_3D |
| Vice City | |
| sascm.ini | 0105=6, actor %1d% near_actor_on_foot %2d% radius %3d% %4d% %5d% sphere %6h% ;; never used in VC or gta 3 |
| Example | 0105: actor $PLAYER_ACTOR near_actor 2@ radius 5.0 5.0 2.0 sphere 0 on_foot |
| Command Name | LOCATE_CHAR_ON_FOOT_CHAR_3D |
| GTA III | |
| gtascm.ini | 0105=6, actor %1d% near_actor_on_foot %2d% radius %3d% %4d% %5d% sphere %6h% |
| Example | 0105: actor $PLAYER_ACTOR near_actor 2@ radius 5.0 5.0 2.0 sphere 0 on_foot |
| Command Name | LOCATE_CHAR_ON_FOOT_CHAR_3D |

