Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...