This article's documentation is for anything that uses the Source engine. Click here for more information.

$eyeposition: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 8: Line 8:
* [[Eye Position Setup]]
* [[Eye Position Setup]]


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

Latest revision as of 21:35, 16 July 2025

$eyeposition is a QC command available in all Source 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)

See also