GTAG - Modding - Opcode Database - 05F5
Opcode Database
05F5
Description | Makes the character go to the specified coordinates. The walk_speed parameter determines whether the character should walk, sprint, run etc. Unlike 05D3, this opcode makes the character use ped path nodes to get to the destination. The character will stick to them unless they can directly go to the specified point (though the intelligence used to determine that may be quite low). GTA III & Vice City A scm-function is like a gosub, but scm-functions have their own set of local variables and can return values. The order in which you pass the arguments to the scm-function will be the order which they are written to the local variables. The number of arguments is controlled by the second parameter opcode. After the argument list is a list of variables, which will be written to return scm-value function. |
---|---|
Parameters (v2) | 1) Actor handle (Integer) (INT) 2) X Coord (Float) (FLOAT) 3) Y Coord (Float) (FLOAT) 4) Z Coord (Float) (FLOAT) 5) Integer (INT) 6) Time in ms (Integer) (INT) |
Games | |
Category | Actor, Common, III CLEO, Task, VC CLEO |
San Andreas | |
sascm.ini | 05F5=6,task_follow_path_nodes_to_coord %1d% coord %2d% %3d% %4d% walk_speed %5h% time %6d% |
Example | 05F5: task_follow_path_nodes_to_coord 43@ coord 2516.686 -1675.861 13.1227 walk_speed 4 time 5500 |
Command Name | TASK_FOLLOW_PATH_NODES_TO_COORD |
Vice City | |
sascm.ini | 05F5=-1,call_scm_func %1p% params_count %2d% |
Example | 05F5: call_scm_func @func params_count 0 |
Command Name | CALL |
GTA III | |
gtascm.ini | 05F5=-1,call_scm_func %1p% params_count %2d% |
Example | 05F5: call_scm_func @func params_count 0 |
Command Name | CALL |