viewblock
Jump to navigation
Jump to search
The viewblock
script command is used to block the view of NPCs for an entity.
This view blocking affects the ^npcinsight
system variable as well as the detectplayer
and undetectplayer
events.
Usage
viewblock <enable>
Context: Any Entity
Parameters:
Parameter | Type | Description |
---|---|---|
enable |
bool |
Should this entity block the vision of NPCs |