Skip to main content

PathNode

Associated namespace: sm.pathNode

A userdata object representing a path node in the game.

Operations:
OperationDescription
PathNode == PathNodeChecks if two instances of PathNode refer to the same PathNode.

Functions

connect

pathNode:connect( target )
Server-Only

Creates a PathNode connection.

Arguments:

destroy

pathNode:destroy()
Server-Only

Destroys the PathNode.

Arguments:

getPosition

pathNode:getPosition()
Server-Only

Returns the pathNode's world position.

Arguments:
Returns:
  • [ Vec3 ]: The pathNode's world position.