Difference between revisions of "MessageBox Tutorial"

Jump to navigation Jump to search
22 bytes added ,  17:07, 1 October 2007
→‎Intro: Bit of a rewrite
imported>Haama
m (Spacing)
imported>Haama
(→‎Intro: Bit of a rewrite)
==Intro==
Most MessageBox mistakes stemare frommade adaptingwhen asimple scriptscripts thatare worksused inas somea cases,base but not infor more complex situationsmenu scripts. To prevent this, this tutorial will work throughtowards several almost-working scripts, showing you their pitfalls. By the end, you'll havea ansingle all-purpose script that can be used and expanded for any situation, and know why every line is needed. We'llBy startthe outend, withyou somewill ofknow the basicproblems mechanicsthat ofcan the MessageBox and related functions, followed by common mistakespop-up in complexa scripts, and then the all-purposemenu script and, how to setprevent it up. Finallythem, we'lland gowhy throughevery howline to useof the script to easily move between multiall-layeredpurpose menus,script andis some extras that you can tack on to itneeded.
 
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.
Note that there are 4 mediums to attach a menu script to: Activators, Quests, Tokens (Object scripts on items in the player's possession), and Spells (or Magic Effect scripts). This article will focus mainly on activators, but the other methods, their differences, and how to set them up will be discussed on other pages (coming soon). Activators are the focus as they are easier to use in most situations (see [[MessageBox_Tutorial#In_which_I_try_to_convince_you_to_use_an_activator|"In which I try to convince you to use an activator"]] for the reasons, though it's highly suggested to read the article first).▼
 
▲Note that there are 4 mediums to attach a menu script to: Activators, Quests, Tokens (Object scripts on items in the player's possession), and Spells (or Magic Effect scripts). This article will focus mainly on activators, but the other methods, their differences, and how to set them up will be discussed on other pages (coming soon). Activators are the focus as they are easier and safer to use in most situations (see [[MessageBox_Tutorial#In_which_I_try_to_convince_you_to_use_an_activator|"In which I try to convince you to use an activator"]] for the reasons, though it's highly suggested to read the article first).
 
==Basic Mechanics of MessageBox and Related Functions==
Anonymous user

Navigation menu