$eyeposition: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
($eyeposition)
 
No edit summary
Line 1: Line 1:
{{tabsBar|main=gs|base=$eyeposition}}
Sets the location that AI will use when checking as to what the NPC can see.  Even if the npc has an <code>"eye"</code> attachment, this will be used when they NPC is outside of the players PVS.
Sets the location that AI will use when checking as to what the NPC can see.  Even if the npc has an <code>"eye"</code> attachment, this will be used when they NPC is outside of the players PVS.



Revision as of 10:38, 25 March 2025

Sets the location that AI will use when checking as to what the NPC can see. Even if the npc has an "eye" attachment, this will be used when they NPC is outside of the players PVS.

Syntax

$eyeposition (x) (y) (z)

See also