Quote:
Originally Posted by exoticbutters50
thanks for the help :) it worked when i set the variable number to 0001, but i have a few questions
-do i have to set other script tiles different values per map or at all?
-if i set it back to 0000 will i get the same problem?
|
To clarify, the game can use a var number and var value to choose whether to activate a script tile the player has walked on or not. This is the same as saying "IF [var number] is currently [var value], activate the script. ELSE, just do nothing". Without this bit, some script tiles will just freeze the screen. This is especially useful when you need to stop a script from activating after a certain point, but since you're doing that with a checkflag inside your script anyway, you can just have the script tile activate infinitely. For that, you need an static variable whose value will never change. iirc I personally use 4001 as my static variable with var number at 0 (every variable is at 0 by default).
I never use that variable inside my scripts, so I know it will always be 0, so all my permanent script tiles will be set to it.
I should've mentioned earlier, but don't use a variable like 0001. It's probably used by the game for other things. Variables 0x4000 to 0x40FF (inclusive) are the safe ones to use.
So yeah, to attempt to sum up, pick a permanent variable, keep its value the same forever, and put it on any permanent script tiles that are freezing the game (regardless of the map)
Quote:
Originally Posted by exoticbutters50
-the game now resets at the line
is there a fix for this?
thanks for the help again, sorry to bother u :)
edit: on doing some further research, i found out that it is only the specific person i am trying to make appear that doesnt. their movement on advance map is set to hidden and they have a person id.
|
Are you still having trouble with this or did you fix it? I'm not really sure what you mean by the game "resets".