Function; ATI_Display2D - HWRM/KarosGraveyard GitHub Wiki

ATI_Display2D(<sTemplateName>, <tRectangle>, <bVisibility>)

Description

Displays an ATI template using the current parameters.

Example

ATI_Display2D("progressTitle", TitleRect, 0)

Arguments

<sTemplateName>: the name of the template loaded using ATI_LoadTemplates.
<tRectangle>: a table containing four floats that define the ATI rectangle: x, y, w, h. Those are normalized screen coordinates from the bottom left corner (eg {0, 0, w, h} is bottom left and {1, 1, w, h} is top right)
<bVisibility>: 0 = invisible, 1 = visible. This does not apply to the text displayed. Perhaps to the rectangle. Tests needed. -SunTzu

Related Pages

ATI_LoadTemplates

Function Reference

Gametype Scope

SCAR (SCripting at Relic) Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial