Script Help Thread (DO NOT REQUEST SCRIPTS)
View Single Post
February 24th, 2012 (5:26 AM).
Originally Posted by
Okay, I took 5000, that's working. Now I've got the same problem as mentioned already:
I have a script one step away from the entrance to a town, so hwne I now walk from the route into the town, the towns name appears. But as I make two steps forward, I walk over the script. At that moment, the towns name just didappears immediately, instead of remaining there for a few seconds. Why is this and how can I fix it?
Just to explain the variable thing, if a variable is set to 0000, then it is always going to activate (all variables are initially set to 0 when the game starts). If a script activates when you step on it, and you don't change the variable to a different value in the script, the game will freeze because it becomes an endless loop, trying to repeat the script over and over again. You would need to deactivate the script by setting its value to something other than 0.
As for the town's name disappearing, it probably has to do with the fact that the script is active and running when you step on it. If you don't want the script to activate until a certain time, set the script's var value to 0001 instead. Then when you want that script to activate, use another script (dialogue, variable script, etc.) and use setvar to change the variable's value to 0x1.
Joined Mar 2009
View Public Profile
Send a private message to metapod23
Find all posts by metapod23
Find threads started by metapod23
Ignore Posts by metapod23