Ive been experimenting with scripts by taking others and braking them apart so I can see how they work. Then when I'm done I test it, but this code used variables and switches. do you have to make the Variables and switches, or is there a command that looks in the script and goes off that?
afraid not, you'll have to configure the switches yourself.
Quote from: Ryex on February 25, 2011, 06:15:42 pm
afraid not, you'll have to configure the switches yourself.
So I make the switches and put its id where it says "SWITCH=2" (2 being the id)
Yeah thats the point of having a configuration for it in the script.
Heh, ok, but I think I'll stick to eventing for a while, script is odd if you dont have a good tutorial.
I never used a tutorial when learning. I just used the documentation that came with RMXP, and kept fiddling with the scripts then checked for what it changed. Gradually you start to understand how it works. A LOT of trial and error.
I learn by seeing. I cant read about it I have to see whats going on, or brake it down and learn that way like im doing now. Luckily most of the things I need for my project I can do with events, but scripts still good to know.