SetMyPos: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 6: Line 6:
SetMyPos(Vector(0,1,0));
SetMyPos(Vector(0,1,0));
</source>|
</source>|
retvals=true on success and null on failure (from v1.6)|
relfuncs=*[[GetMyPos]]
relfuncs=*[[GetMyPos]]
*[[SetMyFacingAngle]]
*[[SetMyFacingAngle]]
}}
}}

Latest revision as of 09:48, 5 January 2023


Description:
Sets an NPC's position


Parameters:

(position)

position: The Vector position for NPC.


Return Values:
true on success and null on failure (from v1.6)


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.