Garry's Mod Wiki

Entity:HeadTarget

Entity:HeadTarget

Vector Entity:HeadTarget( Vector origin )

Description

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

This only works on players and NPCs.

Arguments

1 Vector origin
The vector of where the attack comes from.

Returns

1 Vector
The head position.

Special Pages


Wikis

?

Render Time: 64ms

DB GetPage 48
Generate Html 3
SaveChanges (1) 5
Render Body 0
Render Sidebar 6