/npcpath
misc

Commands for managing NPC patrol paths

Syntax

/npcpath

Subcommands

/npcpath add

Add an NPC patrol path node

Parameters:

index- The target index (default: -1)
observationAngleDegrees- The observation angle in degrees (default: 0.0)
pauseTime- The pause time at this waypoint (default: 0.0)
/npcpath edit

Prepare to edit an existing NPC path

Parameters:

pathId- The path UUID (optional, will use entity in view if not provided)
/npcpath list

List all active patrol paths for a world and their states

/npcpath merge

Merge a second path into the path currently being edited

Parameters:

pathName- The UUID of the path to merge
/npcpath new

Start a new NPC patrol path

Parameters:

observationAngleDegrees- The observation angle in degrees (default: 0.0)
pathName- The name of the path
pauseTime- The pause time at waypoints (default: 0.0)
/npcpath nodes

List all nodes and information for a given path

Parameters:

path- The path UUID
worldgenId- The worldgen ID
/npcpath update

Commands for updating prefab path markers

/npcpath update.observationAngle

Update the observation angle at the given node

Parameters:

angle- The observation angle in degrees
entityId- The entity UUID (optional, will use entity in view if not provided)
/npcpath update.pause

Update the pause time at the given node

Parameters:

entityId- The entity UUID (optional, will use entity in view if not provided)
pauseTime- The pause time to set

Server Messages

edit.noEntityInView

No entity is view and no path ID provided!

add.noActivePath

You need to use the 'new' command to start a path first or the 'edit' command to pick a path to edit

merge.noActivePath

You need to use the 'new' command to start a path first or the 'edit' command to pick a path to edit