Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

addToEventBox

Description

Adds an element to the event box. Must be pre-registered with the eventBoxText library.

Arguments

1 string id

the eventBoxTextData ID to display.

2 any data

the data that the element uses for display.

3 number importance

the importance value. This controls the color of the element.

Returns

1 guiElementInstance

the display element of the event we just added. Only returned if the event box has been initialized.