Dynamic Text Actions


Dynamic Text actions alter the text while playing. The action replaces the dynamic text tags according the action and the rule set to it.

Adding Dynamic Text Action
Tag - the tag represent the 'text mark' that will be replaced if the action will execute. (for example, a tag "<+Money>" will be replaced with an action tagged as "Money")
Text - the text that will be replaced. The text can contain variables or dynamic text mark.
Condition Type - You must choose which type of condition is applied - Item Possession, Variable Check or no rule.
No Rule - The action will always execute upon reaching the page.
Item - if the condition type is Item Possession you must choose an Item.
Possession Type - if the condition type is Item Possession you must choose whether the selected item is supposed to be in the player's possession or if it's supposed to be missing.
Variable - if the condition type is Variable Check you must choose a Variable.
Equation - When Switch is selected from the variables list all you got to do is decide whether to validate it true or false. When Numerical Variable is selected you must first decide the operator (>,<,=,<=,>=) and then write a proper math equations.



Using Dynamic Text Actions marks
Text written in the following format: "<+TEXT>". Is a candidate for being replaced by a Dynamic Text Action with the same Tag as the text.

* Warning: Changing part of the Dynamic text mark font properties will prevent the text replacement. So when changing the font properties
of the mark please make sure that it's not just part of it.



Deep Dynamic Text
Dynamic text action can be even more potent if using a dynamic text action inside of the replaced text.
For exmaple, you can make 2 actions with the following information:
1. Tag: "Info", Text: "You can choose one of the following items: <+Items>".
2. Tag: "Items", Text: "Book, Fishing rod, dice"

The result will be "You can choose one the following Items: Book, Fishing rod, dice".


Dynamic Text Action Syntax
In the list Item Action are shown in the following syntax:
Insert to =  [Tag]
for example:
Insert to  = Money