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

DrawNPCOverhead

PIXEL.DrawNPCOverhead( Entity npc, string text, Angle angle = Angle(0, 0, 0), Vector position = npc:EyePos(), number scale = 0.05 )

Description

Draws a text bubble above the given NPC.

Arguments

Entity npc

The NPC to draw over.

string text

The text to draw.

Angle angle = Angle(0, 0, 0)

Where the bubble should face relative to the NPC.

Vector position = npc:EyePos()

The relative position of the bubble.

number scale = 0.05

The scale of the bubble.