Tricks with Choice Dialogs for Beginners
From AgeofWiki
Introduction: U_Spawn_U's Triggers for Beginners Guide Series Presents The Tricks with Choice Dialogs for Beginners Guide. This Guide Shows you how use the Choice Dialog effect to create more then 2 choices using its easy interface. It will tell you the exact Effects and Conditions to use and it will also teach you how to customize this to your liking and teach you to understand what each Trigger is doing.
Triggers Menu:Recreate the following Groups and Triggers to create a basic 4 Choice dialog sequence.
Group 1 Group Name: (Insert Name Here) Triggers: Activate Sequence | Choice 1 | Choice 2 | Choice 3 | Choice 4
Trigger 1 Trigger Name:Activate Sequence | Active:Yes | Loop:No | Run Immediately:No | Priority:Med Conditions: Unknown- Set this up so it will fire when you want the choice to be made. Effects: Fire event:Fields= Trigger:Choice 1
Trigger 2 Trigger Name:Choice 1 | Active:No | Loop:No | Run Immediately:No | Priority:High Conditions: Always Effects: Choice dialog :Fields= Main Text:(Insert a description of the choice here) Choice 1:(Insert a description of the Choice 1 here) Trigger 1:(The Trigger that will fire if Choice 1 is selected) Choice 2:View Next Choice Trigger 2:Choice 2
Trigger 3 Trigger Name:Choice 2 | Active:No | Loop:No | Run Immediately:No | Priority:High Conditions: Always Effects: Choice dialog :Fields= Main Text:(Insert a description of the choice here) Choice 1:(Insert a description of the Choice 2 here) Trigger 1:(The Trigger that will fire if Choice 2 is selected) Choice 2:View Next Choice Trigger 2:Choice 3
Trigger 4 Trigger Name:Choice 3 | Active:No | Loop:No | Run Immediately:No | Priority:High Conditions: Always Effects: Choice dialog :Fields= Main Text:(Insert a description of the choice here) Choice 1:(Insert a description of the Choice 3 here) Trigger 1:(The Trigger that will fire if Choice 3 is selected) Choice 2:View Next Choice Trigger 2:Choice 4
Trigger 5 Trigger Name:Choice 4 | Active:No | Loop:No | Run Immediately:No | Priority:High Conditions: Always Effects: Choice dialog :Fields= Main Text:(Insert a description of the choice here) Choice 1:(Insert a description of the Choice 4 here) Trigger 1:(The Trigger that will fire if Choice 4 is selected) Choice 2:Back To Choice 1 Trigger 2:Choice 1
Understanding The Triggers: Now recreating these triggers should not be hard, but if you have never done triggers then you would have no idea what each trigger is doing and how to customize it to your liking. So we will go through each effect and condition and what they do. Conditions Used:
The Always Condition was the only conditions used in this group of Triggers,It is simply it mean that there is basically not condition and the that effects will always activate.
Effects Used:
The Fire event Effect was one of the two effects used in this group of Triggers, It has one Field. This Effect will Activate a Trigger that is Inactivate. It contains the followings Fields | Trigger: In this field from the scroll down list select the trigger you wish to activate.
The Choice dialog Effect was one of the two effects used in this group of Triggers, It is pretty simply, it has 2 choices, when a choice is clicked it fires a trigger.
So whats happening is The Activate Sequence Trigger start the choice loop, when the second choice is chosen it brings up the next choice, until you get to choice four will when the second choice is clicked it brings you back to the first choice, nice and simply.
Customization: Now that you understand how the Effects And Conditions work you can now customize the Multi-Choice dialog Sequence works you can increase or decrease the amount of choice you want. All you have to do is add a is copy the last Trigger and change it to the next choice and change the trigger before it so it links to the new trigger instead of restarting the cycle. To have less then Four just end it at Trigger 4, here is a example.
Trigger 4 Trigger Name:Choice 3 | Active:No | Loop:No | Run Immediately:No | Priority:High Conditions: Always Effects: Choice dialog :Fields= Main Text:(Insert a description of the choice here) Choice 1:(Insert a description of the Choice 3 here) Trigger 1:(The Trigger that will fire if Choice 3 is selected) Choice 2:Back To Choice 1 Trigger 2:Choice 1
And now you only have 4 triggers and 3 choices instead of 4.
Conclusion: Now you can create a Choice Dialogs Sequence that allows you to make any were from 2 or more choice dialogs. If you still do not understand read thought this article again and you should get it as long as you read carefully, so good luck and I hope this help you.
This Article is part of the Triggers for Beginners Guide Series, for other great and helpful articles click Here
