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

$eyeposition

From Valve Developer Community
Revision as of 21:45, 15 July 2025 by Equalizer5118 (talk | contribs)
Jump to navigation Jump to search

$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