The above script is an example of a randomized dialogue script. In this example it would be assigned as a conditional script to the first of four dialogue nodes. The second dialogue node would be given a similar conditional script, but instead of the iResult = d100() <26; it would be: This tells D'Jinni to roll a 100 sided die when initiating the dialogue. If the result is <26, play that dialogue node. If the die result is >25, it moves on to the next dialogue, and rolls there.
Entity | Attribute | Value | Rank |
---|