anchorblock

From Arx Libertatis Wiki
Jump to navigation Jump to search

The anchorblock script command is used to block or unblock pathfinding nodes for an entity. All pathfinding nodes near the calling entity's mesh are blocked or unblocked. Blocked nodes are ignored when searching for a path for any entity. To also allow or prevent NPCs from walking trough this entity, combine this with collison.

Usage

anchorblock <block>

Context: Any Entity

Parameters:

ParameterTypeDescription
block bool True if nodes should be blocked, false if they should be unblocked