Difference between revisions of "MessageBox Tutorial/Quest Scripts"

imported>Haama
(Category)
imported>Haama
Line 1: Line 1:
==Some background==
==Some background==
Quest scripts are very similar to the activator script. You won't need to do the extra coding that an [[MessageBox_Tutorial#Activator_Disadvantages|activator requires]], so they'll be a bit easier.
Quest scripts are very similar to the activator script. However, just like the activator script the quest script will require a bit of extra coding.


The disadvantage of quests lies in their lack of a clear start. That is, there are no blocks that a quest runs only a single time when it first starts. Instead, the entire script is run every frame. For instance, if we put the onActivate block into the GameMode block:
The disadvantage of quests lies in their lack of a clear start. That is, there are no blocks that a quest runs only a single time when it first starts. Instead, the entire script is run every frame. For instance, if we put the onActivate block into the GameMode block:
Anonymous user