So I'm wondering if it's possible to make the region of an event bigger, so I can interact with one event over a bigger region. So far I can only interact with an event by going into one tile but i would like to have this interaction space to be bigger/on more tiles than one.
Making a bigger region for an event to get activated by?
RPG Maker VXAce SupportSay, below is a 3x3 area where you want the event to detect player's interaction.
000
0X0
000
First, you put the main event you want to activate on X tile, and give it conditions if Switch X is on, and on Autorun. When the event is finished, turn off Switch X.
Then, make one event with empty graphic that on keypress/touch input will activate the aforementioned Switch X. Now copy that event 8x on all of the 0 tiles.
000
0X0
000
First, you put the main event you want to activate on X tile, and give it conditions if Switch X is on, and on Autorun. When the event is finished, turn off Switch X.
Then, make one event with empty graphic that on keypress/touch input will activate the aforementioned Switch X. Now copy that event 8x on all of the 0 tiles.
The way I've accomplished something like that in the past (and it kind of depends what you want to do) is something like this. Say you want something to happen when the player is in the space of x = 5~7, and y = 5~7.
Here the forest represents the space you want the event to occur in. Next, the two empty graphic events in the corner there.
Next, set up variables that can track the player's X and Y coordinates on the map (also useful for other times you want to track the player's position, and not just this event), set as a parallel process.
Last, I made another parallel process with the event I wanted to happen. In this case, I have a bell continuously sound whenever the player is standing in the woods. This could be more complicated as well.
Be sure in those empty graphic events if you think anything else might be passing by and have its movement blocked, make sure you check "through" so they don't stand in the way of any game choreography you might have.
It may not be exact way you want to do it in all situations, but I find this method useful.
Here the forest represents the space you want the event to occur in. Next, the two empty graphic events in the corner there.
Next, set up variables that can track the player's X and Y coordinates on the map (also useful for other times you want to track the player's position, and not just this event), set as a parallel process.
Last, I made another parallel process with the event I wanted to happen. In this case, I have a bell continuously sound whenever the player is standing in the woods. This could be more complicated as well.
Be sure in those empty graphic events if you think anything else might be passing by and have its movement blocked, make sure you check "through" so they don't stand in the way of any game choreography you might have.
It may not be exact way you want to do it in all situations, but I find this method useful.
I wrote this a long time ago, but wasn't able to find it in any of the scripts I'd posted here. So fixing that now ...
Note - this will only be useful for events that are not moving.
Note - this will only be useful for events that are not moving.
The thing i want is just to make the event area larger, so we have the event in the middle like this
xxx
x0x
xxx
Where 0 being the event, and x the expanded interaction area that activates the 0(event) when touched.
Please post in the thread for the script, showing what you've done.
Problem solved! Shaz's plugin has the solution. Here's a link:
Original thread: https://forums.rpgmakerweb.com/threads/making-a-bigger-region-for-an-event-to-get-activated-by.65350/


