SetMyPos: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
SetMyPos(Vector(0,1,0));
SetMyPos(Vector(0,1,0));
</source>|
</source>|
relfuncs=*[[StopRecordingPlayback]]
retvals=true on success and null on failure (from v1.6)|
*[[PauseRecordingPlayback]]
relfuncs=*[[GetMyPos]]
*[[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.