Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.

GenTextMsg

From AGEWiki

Jump to: navigation, search

GenTextMsg

Syntax  

GenTextMsg = Title, DisplayType, FlavorText, ImageID, SoundID

Description

Sends a message to the players Message Log

Note: If no faction is currently selected, or if the special faction "CMN" is selected, the messagee will be broadcast to all players.

Example  

GenTextMsg = evt_nam_CMN_BattleCalcutta1756|2|evt_txt_CMN_BattleCalcutta1756|
            Event_img_CMN_BattleCalcutta1756|NULL

The message text associated with evt_nam_CMN_BattleCalcutta1756 will appear in the message log. The event is a Full type, so message text evt_txt_CMN_BattleCalcutta1756 with picture Event_img_CMN_BattleCalcutta1756 will appear in the "newspaper". No sound.


 

Parameters

Title

Text that appears in the message log. Either literally the text of the message or a reference to text strings in LocalStrings files.

DisplayType

Integer.

1 = Line display
2 = Full display
FlavorText

The text or reference to text in LocalStrings that will appear in a full display "newspaper".

ImageID

The picture that will appear in Full display

SoundID

Sound given upon opening full display

Forums