$eyeposition: Difference between revisions
Jump to navigation
Jump to search
m (What even is this page? Something about it is uninformative.) |
No edit summary |
||
Line 1: | Line 1: | ||
{{tabsBar|main=gs|base=$eyeposition}} | {{tabsBar|main=gs|base=$eyeposition}} | ||
{{This is a|name=$eyeposition|QC command}} This command sets the location that AI will use when checking as to what the NPC can see. Even if the NPC has an <code>"eyes"</code> attachment, this will be used when the NPC is outside of the player's PVS. | |||
== Syntax == | == Syntax == |
Revision as of 21:45, 15 July 2025
$eyeposition
is a QC command available in all Source games. This command sets the location that AI will use when checking as to what the NPC can see. Even if the NPC has an
"eyes"
attachment, this will be used when the NPC is outside of the player's PVS.
Syntax
$eyeposition (x) (y) (z)