Garry's Mod Wiki

Entity:PointAtEntity

  Entity:PointAtEntity( Entity target )

Description

Changes an entities angles so that it faces the target entity.

Arguments

1 Entity target
The entity to face.