Event Activates on Event touch

KeenWolf

Amateur Game Creator
Member
Joined
Mar 14, 2014
Messages
18
Reaction score
0
First Language
English
Primarily Uses
My issue is getting a lever to open a door when a projectile hits it. In VX Ace all you would need to do is set the event to event touch which would make the event activate on both player touch and event touch, now event touch activates when the event  initiates the touch on the player and has nothing to do with touching other events. 

Issue.png

To put it simply: How can I make that orb make that lever activate.

Issue2.png

I checked all of the plugins on the released forum and didn't find one that did what you could in VX Ace.

Issue 3.png

This is how I allow the player to fire a projectile. Although it is a crude method that I could tidy up with other plugins it still works as intended, but with events not being able to easily trigger one another I'm not sure what the best way would be to make the projectile activate events. My intention is to allow the player to use the projectile to hit switches and start fights with a guaranteed preemptive strike. If I made the projectile check to see if it was lined up with another event and had several of these events on the map it would cause lag in the projectiles movement to check every events location.  I'm not sure if I missed the plugin that would solve my issue, should request a plugin for my issue, or if there is a better way to solve this without cluttering my map or lagging the game out.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,773
Reaction score
12,205
First Language
English
Primarily Uses
RMMV
events do not trigger other events. The Event Touch trigger means when the event touches the player, not when an event touches another event.


There is a plugin (in the JS Plugin Releases forum) that allows you to set a condition for an event touching another event. Otherwise you can just use a parallel process that checks the two events to see if they're on the same spot. Or a parallel process event that checks the region id of the projectile, and then paint that region id over the tile that the switch is on. For both, turn on a switch when the projectile is launched, and condition the parallel process event by that switch - then turn it off again when it reaches its destination.


Or - how are you moving your projectile? If it's a defined move route, just turn on a switch at the end of the move route, and have the second page of the switch event conditioned by it. Avoid parallel processes and the need for plugins altogether that way.
 

KeenWolf

Amateur Game Creator
Member
Joined
Mar 14, 2014
Messages
18
Reaction score
0
First Language
English
Primarily Uses
If it's a defined move route, just turn on a switch at the end of the move route, and have the second page of the switch event conditioned by it. Avoid parallel processes and the need for plugins altogether that way.
This did work for the lever, but would there be a way to get the projectile to stop when it hits a monster and start a fight? I can get the preemptive attack thing to work if hit by projectile, but I'm not sure how to make the fight start with the projectile.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
29,462
Reaction score
6,850
First Language
German
Primarily Uses
RMMV
This did work for the lever, but would there be a way to get the projectile to stop when it hits a monster and start a fight?
In VX Ace all you would need to do is set the event to event touch which would make the event activate on both player touch and event touch, now event touch activates when the event  initiates the touch on the player and has nothing to do with touching other events.
You'll need a plugin to create a new trigger for event-event-triggering, and that has always been the case.


In all makers so far (since RMXP), event touch always only triggered when the event touches the player - there was absolutely no way to trigger event by event in default of Ace.


Either you remember completely wrong, or you added a script that changed the default way of triggering, but event touch could never be triggered by another event.
 

KeenWolf

Amateur Game Creator
Member
Joined
Mar 14, 2014
Messages
18
Reaction score
0
First Language
English
Primarily Uses
Alright I went back and looked at my previous VX Ace game and I am indeed wrong. Fooled myself. I'll look through the event sensor plugins and try to solve this. Thanks for the help.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Latest Threads

Latest Posts

Latest Profile Posts

Okay, that's the best I can do. Looks a little strange but..err.. it's my style, yeah, very original style..
being an extreme introvert with massive anxiety... I forget this is really, REALLY frustrating for people who are the exact opposite. still, wait this out and stay home...
I hope you all are keeping safe. <3 If you need a shoulder or an ear, I have two of both and am more than willing to listen & support you! Times are weird.
My dad, super frustrated by seclusion, asking me how I live like this. I shrug. "It helps to not like what is outside."
Apparently it's not just people who are hit by corona virus. My phone has set itself to English language on its own. Not that I'm complaining... :D

Forum statistics

Threads
95,443
Messages
929,187
Members
125,685
Latest member
imnotanepicgamer
Top