GetMyPos: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "{{Welcome| desc= Gets the position of an NPC| retvals=The position of the NPC as a Vector.| example=<source lang="lua"> local p=GetMyPos(); print("My position co-ordinates...")
(No difference)

Revision as of 15:18, 15 March 2022


Description:
Gets the position of an NPC


Parameters:

NoParams


Return Values:
The position of the NPC as a Vector.


Example

local p=GetMyPos();
print("My position co-ordinates are "+p);

Related Functions

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