RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RMVXA] Event touch OR Player touch (both at once)

Started by &&&&&&&&&&&&&, July 18, 2013, 06:50:59 PM

0 Members and 1 Guest are viewing this topic.

&&&&&&&&&&&&&

1 or 2, both at once... I know it's worded weird, but this is what I'm wondering.

Example 1 -
Guard A is on duty, he's patrolling.
Event touch: The player can run into him, without activating the event. :\
Player touch: If the player stands still, the event won't activate. ::\\
Is there a way to have it check for ANY collision with the player?

Example 2 -
Guard B is on duty, he's patrolling. I want this to happen -
Event touch (he caught you): Battle process starts against guard like normal.
Player touch (you snuck up): You get a preemptive strike on him.

but how do I do this? I can set the event to either Player touch, or Event touch... but not both.
&&&&&&&&&&&&&&&&

AbsoluteIce

I don't know if this will work, I just got this idea from the top of my head at 5:30am in the morning, so forgive me  :V
Why don't you add a parallel event with a conditional branch 'if switch ... is on'? put the 1st page of the soldier sprite as event/player touch, use the selfswitch A/B option, and event whatever is necessary in the 2nd page while turning on the switch on the 2nd page aswell?
なんでやねん