/npcpathmisc
Commands for managing NPC patrol paths
Syntax
/npcpathSubcommands
/npcpath addAdd 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 editPrepare to edit an existing NPC path
Parameters:
pathId- The path UUID (optional, will use entity in view if not provided)/npcpath listList all active patrol paths for a world and their states
/npcpath mergeMerge a second path into the path currently being edited
Parameters:
pathName- The UUID of the path to merge/npcpath newStart a new NPC patrol path
Parameters:
observationAngleDegrees- The observation angle in degrees (default: 0.0)pathName- The name of the pathpauseTime- The pause time at waypoints (default: 0.0)/npcpath nodesList all nodes and information for a given path
Parameters:
path- The path UUIDworldgenId- The worldgen ID/npcpath updateCommands for updating prefab path markers
/npcpath update.observationAngleUpdate the observation angle at the given node
Parameters:
angle- The observation angle in degreesentityId- The entity UUID (optional, will use entity in view if not provided)/npcpath update.pauseUpdate 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 setServer Messages
edit.noEntityInViewNo entity is view and no path ID provided!
add.noActivePathYou need to use the 'new' command to start a path first or the 'edit' command to pick a path to edit
merge.noActivePathYou need to use the 'new' command to start a path first or the 'edit' command to pick a path to edit