Function; addTheme - HWRM/KarosGraveyard GitHub Wiki

addTheme(<iThemeNumber>, <tColour>, <fFadeIn>, <fFadeOut> [, <iPlayerColour>, <sBitmapBaseName>, <iNumBitmaps>])

Description

None.
Note: this function is called in "data\ui\subtitle.lua".

Example

(from "data\ui\subtitle.lua")

addTheme(0, {255, 255, 255,}, 0.1, 0.1, 1, "fleetintel#.tga", 1)

Arguments

<iThemeNumber>: the index number of the theme.
<tColour>: a table containing RGB color components.
<fFadeIn>:
<fFadeOut>:
<iPlayerColour>: (optional)
<sBitmapBaseName>: (optional)
<iNumBitmaps>: (optional)

Related Pages

Function Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

⚠️ **GitHub.com Fallback** ⚠️