hi just wanted to know what do i need to make this? common event, or a script or sometyhing?
(//)
i want to be able to put the chess peice on the button to open the door, but id otn just want to be able to move it in a straite line, i want it to move for instance, if i stand on the bottom of it iw ant it to move up and if im on top i want it to move down get me?
Thanks
Jack/
~Zushau~
track the chess piece's position with two variables when it's pushed, and if it's equal to the X and Y coordinates (position) of the switch, activate the switch.
that's the only way I can think of to do it.
Chess Piece -> Event Page 1 (On Hero Touch)
when the hero touches it, have it move one square away from the character.
there should be an option in the 'set variable' event call to store the X and Y position of an event on the map. Have one variable for X and one for Y of the piece.
then with two conditional branches, you can first check the X variable, if it is equal to the X of the switch, check the Y value, if that is equal, then activate the switch, and disable movement of the chess piece.
(turn on Self-Switch A, and have a blank 2nd event page set to trigger on Self-Switch A)
that's the pseudo code of it, you'll have to put the right event calls together, but I think you can do it from here.
/me hopes it wasn't too confusing .-.
Thanks namkor.. this actually helped me lol
I tried to make this event once or twice and gave up and never tried since.. but your idea would work..
very simple if i were to make the event once it reaches x and Y pos on the map to activate the switch!