04-01-2013, 07:49 AM
You can use conditional branches like...
You most likely have to send the X/Y coordinates of both events to a variable, and check using those. From there on, you'll have to figure out the best way to make A trigger B. Having Event A set a switch, and Event B using a parallel process with the page condition checking for said switch would probably be the best method.
Example : Event A is "Monster" and Event B is "Pit Trap". Checking if "Monster"'s coordinates match up with "Pit Trap"'s coordinates, the "Monster" event would set Switch #???? : Monster Trapped. When that switch is on, the "Pit Trap" event is activated, an animation plays, then the self switch of both events is turned on (so they don't happen again.)
I hope that helps some.
Code:
@> Condition : Event A's X == Event B's X
@> Condition : Event A's Y == Event B's Y
@> Comment : STUFF HAPPENS HERE.
Branch End
Branch End
You most likely have to send the X/Y coordinates of both events to a variable, and check using those. From there on, you'll have to figure out the best way to make A trigger B. Having Event A set a switch, and Event B using a parallel process with the page condition checking for said switch would probably be the best method.
Example : Event A is "Monster" and Event B is "Pit Trap". Checking if "Monster"'s coordinates match up with "Pit Trap"'s coordinates, the "Monster" event would set Switch #???? : Monster Trapped. When that switch is on, the "Pit Trap" event is activated, an animation plays, then the self switch of both events is turned on (so they don't happen again.)
I hope that helps some.