Entity/HeadTarget

From Garry's Mod
Revision as of 21:23, 29 February 2016 by Shendow (Talk | contribs)
Jump to: navigation, search
 Entity:HeadTarget( )

Description

Returns the position of the head of this entity, NPCs use this internally to aim at their targets.

NOTE: This only works on players and NPCs.

Arguments

Vector origin

The vector of where the attack comes from.

Returns

Vector

The head position.
Personal tools
Navigation