Entity/BodyTarget

From Garry's Mod
Jump to: navigation, search
 Entity:BodyTarget( )

Contents

Description

Returns a centered vector 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 the attack comes from.

Arguments

boolean noisy=false

Decides if it should return the centered vector with a random offset to it.

Returns

Vector

The centered vector.
Personal tools
Navigation