Difference between revisions of "MessageBox Tutorial/Centralized Decision Catching"

Added Generalization disclaimer
imported>Haama
imported>Haama
(Added Generalization disclaimer)
Line 1: Line 1:
This is a subsection of the [[MessageBox Tutorial]], and uses [[MessageBox_Tutorial#Activator_Script|this script]] as a base. The following code may or may not require certain aspects of that script to work, however the information should prove useful for any script (it will take a bit of care to make it work, though).
----
For 99.9% of your menus, you won't need to differentiate the decision catching:
For 99.9% of your menus, you won't need to differentiate the decision catching:
<pre>  Elseif (Choosing == 1)
<pre>  Elseif (Choosing == 1)
Line 24: Line 28:
     if (Choice == 0) ;first choice, "25" in the example
     if (Choice == 0) ;first choice, "25" in the example
</pre>
</pre>
*Editor's Note: This needs to be added to the [[MesssageBox Tutorial]]
Anonymous user