anchorblock
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:
Parameter | Type | Description |
---|---|---|
block |
bool |
True if nodes should be blocked, false if they should be unblocked |