118 float getNodeYaw(
string pathName,
int nodeIndex);
141 void setNodePosition(
string pathName,
int nodeIndex,
float posX,
float posY,
float posZ);
int getNumNodes(string pathName)
Gets how many nodes the path specified has. This also adds all the nodes in between the main nodes...
path deleteNode(“pathName”, id)
Remove a node into the path.
float getNodeYaw(string pathName, int nodeIndex)
Get the yaw rotation of the node index you have passed through. This is a precalculated yaw angle cre...
path insertNode(“pathName”, id, x, y, z)
Insert a node into the path.
path createPath(“pathName”)
Create a Path.
float3 getNodePosition(string pathName, int nodeIndex)
Get the position of the node index you have passed through. You can get the position of every node be...
Definition: LUA_API_Path.h:59
int doesPathExist(string pathName)
Check whether the path specified exists or not. This is a boolean function as it returns true or fals...
void setNodePosition(string pathName, int nodeIndex, float posX, float posY, float posZ)
Set the position of the node index you have passed through. This only works for the main nodes that y...
path removePath(“pathName”)
remove a Path