Difference between revisions of "MessageBox Tutorial"

289 bytes removed ,  12:47, 29 August 2007
Corrected
imported>Haama
(→‎Activator Disadvantages: Note on moving the activator away)
imported>Haama
(Corrected)
Line 1: Line 1:
{{Errors}}
From some [http://www.bethsoft.com/bgsforums/index.php?showtopic=740961 problems] I've run into, the [[Messagebox_Tutorial:_Centralizing_Your_Menu_Exits|Centralizing your menu exits]] sub-tutorial should be considered as necessary, rather than optional, when using activators.
==Intro==
==Intro==
Most MessageBox mistakes stem from adapting a script that works in some cases, but not in more complex situations. To prevent this, this tutorial will work through several almost-working scripts, showing you their pitfalls. By the end, you'll have an all-purpose script that can be used and expanded for any situation, and know why every line is needed. We'll start out with some of the basic mechanics of the MessageBox and related functions, followed by common mistakes in complex scripts, and then the all-purpose script and how to set it up. Finally, we'll go through how to use the script to easily move between multi-layered menus, and some extras that you can tack on to it.
Most MessageBox mistakes stem from adapting a script that works in some cases, but not in more complex situations. To prevent this, this tutorial will work through several almost-working scripts, showing you their pitfalls. By the end, you'll have an all-purpose script that can be used and expanded for any situation, and know why every line is needed. We'll start out with some of the basic mechanics of the MessageBox and related functions, followed by common mistakes in complex scripts, and then the all-purpose script and how to set it up. Finally, we'll go through how to use the script to easily move between multi-layered menus, and some extras that you can tack on to it.
Anonymous user