Garry's Mod Wiki

Entity:BodyTarget

Entity:BodyTarget

  Vector Entity:BodyTarget( Vector origin, boolean noisy = false )

Description

Returns a centered vector 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 the attack comes from.
2 boolean noisy = false
Decides if it should return the centered vector with a random offset to it.

Returns

1 Vector
The centered vector.

Special Pages


Wikis

?

Render Time: 38ms

DB GetPage 20
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 7