⚠️ This site is under development, some artefacts may be missing or incomplete.
PIXEL UI
DrawEntOverhead

DrawEntOverhead

PIXEL.DrawEntOverhead( Entity ent, string text, Angle angle = Angle(0, 0, 0), Vector position = Vector(0, 0, ent:OBBMaxs().z), number scale = 0.05 )

Description

Draws a text bubble above the given entity.

Arguments

Entity ent

The entity to draw over.

string text

The text to draw.

Angle angle = Angle(0, 0, 0)

Where the bubble should face relative to the entity.

Vector position = Vector(0, 0, ent:OBBMaxs().z)

The relative position of the bubble.

number scale = 0.05

The scale of the bubble.