Okay, this script would aid me in making certain puzzles where the player has to push something like a box onto a switch.
As of now I have to use variables (about 4 of them) and about 6 switches to make an event that say opens a door when either the player or a a box is on a certain XY coordinate.
My request is somehow make that easier.
I was thinking that maybe there could be a way to check if an event is on top of another event.
So, here goes! The event needs 3 pages;
------------
Page 1 is nothing, it has everything that runs when the player (or box) is not standing on it (like a parallel process with a door shut)
Page 2, this page has a comment in it of the name of an event on the map, and will run it if that event is on top of this event, and will revert back to page 1 if the event moves off of it.
Page 3, this page has a comment of PLAYER and will run if the player is standing on top of it, and will revert back to page 1 if the player moves off of it.
Thanks!
~Kraft
As of now I have to use variables (about 4 of them) and about 6 switches to make an event that say opens a door when either the player or a a box is on a certain XY coordinate.
My request is somehow make that easier.
I was thinking that maybe there could be a way to check if an event is on top of another event.
So, here goes! The event needs 3 pages;
------------
Page 1 is nothing, it has everything that runs when the player (or box) is not standing on it (like a parallel process with a door shut)
Page 2, this page has a comment in it of the name of an event on the map, and will run it if that event is on top of this event, and will revert back to page 1 if the event moves off of it.
Page 3, this page has a comment of PLAYER and will run if the player is standing on top of it, and will revert back to page 1 if the player moves off of it.
Thanks!
~Kraft