Grimwar/Entities/info label
Appearance
Overview · Getting started · SDK setup · Maps · Custom content · Entities · VSig · VMod · Workshop · Addons · Servers · Help
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 |
|---|---|---|
colorColor |
[1, 1, 1, 1] |
Value type: color.
|
font_sizeFont size |
36 |
Minimum: 0.01. Maximum: 1000.
|
labelText |
"Label" |
Value type: string.
|
ignore_nav_meshIgnore 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 |