File tree Expand file tree Collapse file tree
frontend/docs/scripting/functions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ Makes an NPC move to a specific position.
1717| Float: x | The X coordinate to move to. |
1818| Float: y | The Y coordinate to move to. |
1919| Float: z | The Z coordinate to move to. |
20- | NPC_MOVE_TYPE: moveType | The movement type (default: ` NPC_MOVE_TYPE_JOG ` ). |
21- | Float: moveSpeed | Movement speed (default: ` NPC_MOVE_SPEED_AUTO ` ). |
20+ | NPC_MOVE_TYPE: moveType | [ The movement type] ( ../resources/npc-constants#movement-types ) (default: ` NPC_MOVE_TYPE_JOG ` ). |
21+ | Float: moveSpeed | [ Movement speed] ( ../resources/npc-constants#movement-speed ) (default: ` NPC_MOVE_SPEED_AUTO ` ). |
2222| Float: stopRange | Distance to target before stopping (default: 0.2). |
2323
2424## Returns
@@ -72,3 +72,7 @@ public OnPlayerCommandText(playerid, cmdtext[])
7272## Related Callbacks
7373
7474- [OnNPCFinishMove](../callbacks/OnNPCFinishMove): Called when NPC finishes movement.
75+
76+ ## Related Resources
77+
78+ - [NPC Constants](../resources/npc-constants)
You can’t perform that action at this time.
0 commit comments