Jump to content

Grimwar/Entities/info label

From Vellocet Developer Community
Revision as of 00:13, 1 October 2026 by DocumentationBot (talk | contribs) (Version 1)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

All entities

Display world-space text.

Placement: Point.

Set it up

Set the initial text, size, and colour in the inspector. set_text accepts a string or composite formatting, such as label.set_text("Wave {0}", wave). set_color accepts an HTML colour or comma-separated RGB/RGBA values. clear removes the text.

Settings

These are the initial authoring values. Script inputs and runtime state are listed separately below.

Setting Default Meaning and choices
color
Color
[1, 1, 1, 1] Value type: color.
font_size
Font size
36 Minimum: 0.01. Maximum: 1000.
label
Text
"Label" Value type: string.
ignore_nav_mesh
Ignore Nav Mesh
false Exclude this entity from navigation-mesh building. This does not disable its gameplay collision.

VSig contract

Use the names below with a ref bound to this entity. The value column describes the catalog value type, not a C# method signature. See Read the reference for arguments, authority, and common controls.

Kind Member Value Authority / access
Input clear string Server
Input kill none Server
Input set_color string Server
Input set_text string Server
Output killed none Server