CT_Bolt Event trigger event

Hi everyone,
I just wanted to see if I could please get some help understanding how to work this plugin. I read everything included and it still doesn't make much sense to me. What I am trying to use this plugin for is to have Event A "Rock" be able to be pushed by the player into another event Event B "Switch 1" to turn on a switch so that the "Rock" can no longer be moved and will show in place even if the player leaves the map and comes back to it after. I was also hoping to have an Event C "Switch 2" which if the player were to push the "Rock" onto that event instead then it would trigger a different switch which would show the "Rock" stabilized in the position of "Switch 2" instead of "Switch 1". Any help is always appreciated!
Thank you for your time,
~V
Firstly thank you for the download 🙂

To be honest though I'm not really sure that's the best plugin to help with such a puzzle setup.
I'm guessing it can be utilized to make that happen though...
I'll check into that right now but in the mean time I'm going to send you a PM of a puzzle demo plugin that you may or may not find helpful for such scenario.

The demo can be played here:

Retaining certain event locations in that demo does currently utilize Yanfly's free plugin: Save Event Location

Anyways though yep I'll also go check into how to utilize my event trigger plugin for such a setup.
Firstly thank you for the download 🙂

To be honest though I'm not really sure that's the best plugin to help with such a puzzle setup.
I'm guessing it can be utilized to make that happen though...
I'll check into that right now but in the mean time I'm going to send you a PM of a puzzle demo plugin that you may or may not find helpful for such scenario.

The demo can be played here:

Retaining certain event locations in that demo does currently utilize Yanfly's free plugin: Save Event Location

Anyways though yep I'll also go check into how to utilize my event trigger plugin for such a setup.
Yanfly's plugin was what I was looking for, but I would still love to have a plugin for events to be able to trigger other events by touch which is what I believe yours does. I'm just having a hard time understanding where everything plugs in wise to get it to work. I'm sorry I'm afraid I'm not very good at understanding scripts most of the time so if you could do you think when you have the time you could write out more detailed instructions for use. I would greatly appreciate it and I am very grateful to you for responding with help.
Have Event A "Rock" be able to be pushed by the player into another event Event B "Switch 1" to turn on a switch so that the "Rock" can no longer be moved and will show in place even if the player leaves the map and comes back to it after.
So I got this to work as needed by doing the following:
Spoiler: Event Setup
Spoiler: Rock
1666770733156.png

1666770743163.png

Code that goes inside the Event Trigger comment on Page #1:
JavaScript:
var event = $gameMap.eventsXyNt(x, y)[0];
if (!$dataMap.events[event._eventId].meta.noEventTrigger){
  event._triggeredBy = this;
  $gameSelfSwitches.setValue([$gameMap._mapId, event._eventId, 'A'],true);
  $gameSelfSwitches.setValue([$gameMap._mapId, this._eventId,  'A'],true);
};
Spoiler: Switch
1666771452355.png

1666771466947.png

1666771475916.png
That looks like this:
Spoiler: Video Demo

Maybe that helps? I can break that process down into more detail further if you want, just let me know.

Yanfly's plugin was what I was looking for
Awesome! Yep that sure comes in handy 🙂

I would still love to have a plugin for events to be able to trigger other events by touch which is what I believe yours does
Yep that's exactly what it does. ☺️
I tried to make it simple but it still kind of ended up complex.
I'll make a update to it soon since you're interested in it 🙂

I'm just having a hard time understanding where everything plugs in wise to get it to work. I'm sorry I'm afraid I'm not very good at understanding scripts most of the time so if you could do you think when you have the time you could write out more detailed instructions for use. I would greatly appreciate it
Hey no worries, yep I'll make more details and info in the next release. Stay tuned 😉

I am very grateful to you for responding with help.
No prob. Happy to help. 🙂
So I got this to work as needed by doing the following:
Spoiler: Event Setup
Spoiler: Rock
View attachment 243610
View attachment 243611
Code that goes inside the Event Trigger comment on Page #1:
JavaScript:
var event = $gameMap.eventsXyNt(x, y)[0];
if (!$dataMap.events[event._eventId].meta.noEventTrigger){
  event._triggeredBy = this;
  $gameSelfSwitches.setValue([$gameMap._mapId, event._eventId, 'A'],true);
  $gameSelfSwitches.setValue([$gameMap._mapId, this._eventId,  'A'],true);
};
That looks like this:
Spoiler: Video Demo

Maybe that helps? I can break that process down into more detail further if you want, just let me know.


Awesome! Yep that sure comes in handy 🙂


Yep that's exactly what it does. ☺️
I tried to make it simple but it still kind of ended up complex.
I'll make a update to it soon since you're interested in it 🙂


Hey no worries, yep I'll make more details and info in the next release. Stay tuned 😉


No prob. Happy to help. 🙂

I will definitely keep an eye out for the update and I will most certainly be adding you into the credits of the game as my thank you. Was there a specific link you would like me to include?
I will definitely keep an eye out for the update
☺️👍

and I will most certainly be adding you into the credits of the game as my thank you. Was there a specific link you would like me to include?
Okee dokee Sounds good 🙂

Naw nothing really particular a link to my itch.io page perhaps.

Credit is really not needed though, but certainly appreciated. ☺️👍
☺️👍


Okee dokee Sounds good 🙂

Naw nothing really particular a link to my itch.io page perhaps.

Credit is really not needed though, but certainly appreciated. ☺️👍
Alrighty all set in the credits page of the game. Thanks again and looking forward to the update. Take care. ^_^

Original thread: https://forums.rpgmakerweb.com/threads/ct_bolt-event-trigger-event.152246/