cl_intro¶
Source: gamemode/modules/cl_intro.lua
Documented functions: 2
Functions¶
MODULE:InitializeIntro(bStart)MODULE:Register(text, font, showingTime, col, startX, startY, xAlign, yAlign)
MODULE:InitializeIntro(bStart)¶
Builds and optionally starts the intro sequence.
Realm: client
Parameters
| Name | Type | Description |
|---|---|---|
bStart |
boolean |
Whether to start immediately |
MODULE:Register(text, font, showingTime, col, startX, startY, xAlign, yAlign)¶
Registers a line in the intro sequence.
Realm: client
Parameters
| Name | Type | Description |
|---|---|---|
text |
any |
Text string or function returning a string |
font |
string |
Font name |
showingTime |
number |
How long the line stays visible |
col |
Color |
Base color for the line |
startX |
number |
Start X |
startY |
number |
Start Y |
xAlign |
number |
X alignment |
yAlign |
number |
Y alignment |