Trigger Event Two Different Ways with 2 different Outcomes.

Is there a script call I can use or conditional branch that will let me set up two different event triggers on the same event, for example something like:

if (player & event X = plyer touch)
Run Conditional Branch A
else if ( player & event X = event touch)
Run Conditional Branch B
else if (player & event X = action button)
Run Conditional Branch C
not really, because you can have only one page active and "trigger" is a property of the event pages.

However, there are several ways around it that depend on what exactly you want to do.
That is usually the better approach - telling us what you want to do instead of how you want to do it.
not really, because you can have only one page active and "trigger" is a property of the event pages.

However, there are several ways around it that depend on what exactly you want to do.
That is usually the better approach - telling us what you want to do instead of how you want to do it.

I was hoping I could script it because I want to do it with a few events, its kind of an event where the enemy sees the player he freezes and it runs and hits him (using yanfly's event chase), on event touch the player dies but if the player sneaks up on the enemy than the player touches the enemy without being seen and the enemy dies.

I can have a common event run when enemy see's player with yanfly's plugin but this doesn't let the player escape and it will trigger the same event regardless of which enemy sees the player. This I'd prefer to avoid.
there are several ways to simulate that with conditional branches on a single trigger, but it requires carefull logic sequences.
No matter how I think about logic sequences though they have to be triggered by either player or event touch. I can't find a single idea that will do it with both.

Original thread: https://forums.rpgmakerweb.com/threads/trigger-event-two-different-ways-with-2-different-outcomes.76681/