viewblock

From Arx Libertatis Wiki
Revision as of 15:12, 26 June 2022 by Ds (talk | contribs) (Created page with "{{ScriptCommandPage |description=block the view of NPCs |context=any |parameters= enable bool Should this entity block the vision of NPCs |intro=<br> This view blocking affects the <code>^npcinsight</code> system variable as well as the {{Event|detectplayer}} and {{Event|undetectplayer}} events. }}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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:

ParameterTypeDescription
enable bool Should this entity block the vision of NPCs