Difference between revisions of "A beginner's guide, lesson 6 - Quest Dialogue"
A beginner's guide, lesson 6 - Quest Dialogue (edit)
Revision as of 00:23, 20 October 2009
, 00:23, 20 October 2009→Three Problems
imported>Nightlithium |
imported>Nightlithium m (→Three Problems) |
||
Line 597: | Line 597: | ||
It doesn't stop the quest running. You can repeatedly play the on-screen text by selecting the topic message for you until you get the message | It doesn't stop the quest running. You can repeatedly play the on-screen text by selecting the topic message for you until you get the message | ||
The second problem deals with the script as it currently stands and may not be so obvious to a non-scripter. Remember the quest script works every 5 seconds. That means that every 5 seconds this script adds the topic | The second problem deals with the script as it currently stands and may not be so obvious to a non-scripter. Remember the quest script works every 5 seconds. That means that every 5 seconds this script adds the topic BGMMessage4u to the players list. I don't honestly know the effect of repeatedly adding a topic to the player list. I suspect that having done this the first time the rest of the time the script is ignored. | ||
However, this is still an untidy way to script. If we only want the script to do something once we should write script that does this. | However, this is still an untidy way to script. If we only want the script to do something once we should write script that does this. |