Difference between revisions of "MessageBox Tutorial/External Menu Selection"

Jump to navigation Jump to search
Clarity
imported>Haama
(Added Generalization disclaimer)
imported>Haama
(Clarity)
Line 20: Line 20:
Also, if you want to allow the menu to be reset if it's still trying to catch the player's choice ([[GetButtonPressed]] keeps returning -1), then use
Also, if you want to allow the menu to be reset if it's still trying to catch the player's choice ([[GetButtonPressed]] keeps returning -1), then use
<pre>  if (Choosing >= 0)</pre>
<pre>  if (Choosing >= 0)</pre>
instead.
instead of
<pre>  if (Choosing == 0)</pre>




[[Category: Scripting Tutorials]]
[[Category: Scripting Tutorials]]
Anonymous user

Navigation menu