$eyeposition: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (What even is this page? Something about it is uninformative.)
Line 1: Line 1:
{{tabsBar|main=gs|base=$eyeposition}}
{{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>"eyes"</code> attachment, this will be used when the NPC is outside of the player's PVS.


== Syntax ==
== Syntax ==
  $eyeposition (x) (y) (z)
  $eyeposition (x) (y) (z)


== See also ==
== See also ==
* [[Eye Position Setup]]
* [[Eye Position Setup]]


[[Category:QC Commands|eyeposition]]__NOTOC__
[[Category:QC Commands|eyeposition]]__NOTOC__

Revision as of 02:28, 26 March 2025

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)

See also