Skip to main content

SetMyPos

Description

Set the position of the NPC.

NameDescription
Float:xThe X coordinate to put the NPC at.
Float:yThe Y coordinate to put the NPC at.
Float:zThe Z coordinate to put the NPC at.

Returns

This function does not return any specific values.

Example

SetMyPos(0.0, 0.0, 3.0);
  • GetMyPos: Get the NPC's current position.