Page 1 of 1

Proper Message generation and focus

Posted: Fri Oct 02, 2009 1:57 pm
by Pocus
Some of you wonder how to generate a message which is focused on a region randomly selected. Here is the proper syntax with assorted comments.

For the next version of the AGE games, you'll also have the possibility to have the region name cited in the message title, if you insert a ¤ in the title.

For example

SelectFaction = USA
StartEvent = The ¤ fair is now closed!|999|0|NULL|NULL|NULL|NULL

Conditions
AddToRegList = $Newcastle, DE;$Winchester, VA
PickFromRegList
EvalRegionSel
Actions
GenTextMsg = The ¤ fair is now open!|1|NULL|NULL|NULL


EndEvent

Give that:
Image

Posted: Fri Oct 02, 2009 3:41 pm
by lodilefty
Will the string in the GenTextMsg still be able to reference a string in LocalStrings, as is now the case?

Posted: Mon Oct 05, 2009 8:40 am
by Pocus
yes