Entity/HeadTarget

From Garry's Mod
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