Difference between revisions of "MessageBox Tutorial"

Jump to navigation Jump to search
14 bytes removed ,  13:34, 20 July 2007
m
imported>Haama
(→‎Basics: New section and split things up into sections)
imported>Haama
 
===Where to place MessageBox and GetButtonPressed===
[[MessageBox]] takes one frame to display, so you can use any block[[BlockType]] to display it. However, [[GetButtonPressed]] needs to be in a block [[BlockType]]that continuously runs (i.e., [[GameMode]], [[MenuMode]], [[ScriptEffectUpdate]]) and needs to be on a script that is running every frame (i.e., an activator that is in a loaded cell, a quest running every .001 seconds, etc.)., Theuntil reasonthe forplayer's thisdecision –is incaught. orderThis tois readbecause it, makewill atake decision,at clickleast thea option,few andframes let go offor the mouseplayer buttonto it will takeread the playermenu longerand thanmake a frame,decision so(as youwell needas tosome runother the script every frame until thenpeculiarities).
 
===Keep 'em separated===
Anonymous user

Navigation menu