SetMyPos: Difference between revisions
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=*[[ | retvals=true on success and null on failure (from v1.6)| | ||
*[[ | 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.