Function; UI_AddToEventScreen - HWRM/KarosGraveyard GitHub Wiki

UI_AddToEventScreen(<sIndexString>)

Description

Causes a new message to appear in the Events log.
The displayed message corresponds to the string indexed using <sIndexString> in "data/soundscripts/speechevent/eventtext.lua".

Example

(from Mission 1 of the Ascension campaign)

UI_AddToEventScreen("STATUS_BuildAvaliable_1")
Note: the example above is the only instance of this function found being used in the game.

Arguments

<sIndexString>: an index in "eventtext.lua", which sets a localized or quoted string.

Scope

Related Pages

Function Reference

Comments

Added the reference to the eventtext file.

--SunTzu (2006-01-10 16:16:08)

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial