ROLLING A BOULDER SCRIPT PROBLEM

Posts

Pages: 1
So I know this is a pretty newbie question, but I'm having a real hard time rolling a boulder on to a pressure plate. I know how to get the boulder to roll, but when I try to set the event to a Parallel Process and set the code, it instantly crashes saying,

"Script'Game_Interpreter' line 543: SyntaxError occurred. unexpected tSTRING_BEG, expecting $end
's Map X"

Here's the script that I used. When I set it from Parallel Process to a Player Touch or whatnot, it doesn't crash until I trigger it, so I know it's something with the code.



I appreciate any help anyone can give. Thank you!
Brady
Was Built From Pixels Up
3134
That looks fine from there, although you might want to have the par.proc with a second page activated by the switch or a self-switch so it doesn't spend forever turning the switch on.
Unless the idea is the boulder can be moved on and off of the plate, in which case you'll want to put a switch=OFF in the else branches of the conditionals.

Either way, that seems fine, so if there's a crash it must be interacting with something else in a bad way that's not shown here.
If I set the X and Y variable scripts to "Player's X Map" and "Player's Map Y" it says "unterminated string meets end of file". I'm not sure if that's any more insight to what might be wrong...
I found the problem. I was trying to use the Script to interact with the variable instead of Game Data, then setting Character and the event. Thanks for the attempt though, Brady!
Pages: 1