SetMyPos: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "{{Welcome| desc=Sets an NPC's position| params=<syntaxhighlight lang="lua">(position)</syntaxhighlight> <poem>::position: The Vector position for NPC.</poem>| example=<source...")
 
No edit summary
Line 2: Line 2:
desc=Sets an NPC's position|
desc=Sets an NPC's position|
params=<syntaxhighlight lang="lua">(position)</syntaxhighlight>
params=<syntaxhighlight lang="lua">(position)</syntaxhighlight>
<poem>::position: The Vector position for NPC.</poem>|
<poem>::position: The [[Vector]] position for NPC.</poem>|
example=<source lang="lua">
example=<source lang="lua">
SetMyPos(Vector(0,1,0));
SetMyPos(Vector(0,1,0));

Revision as of 15:28, 15 March 2022


Description:
Sets an NPC's position


Parameters:

(position)

position: The Vector position for NPC.


Return Values:
This function does not return any specific values.


Example

SetMyPos(Vector(0,1,0));

Related Functions

The following functions may be helpful as they relate to this function in one way or another.