Giving an event a region ID?

FarrowTMana

Warper
Member
Joined
Dec 17, 2015
Messages
3
Reaction score
1
First Language
English
Hello,

I'm looking t​o see if there is a way to give an event a region ID. Is this possible?
The event isn't stationary so setting the region through the mapping would not work, and I can't set the region ID along the path the event takes, as it would ruin the reason I am using them. 

So, to​​ put it in short terms, is it possible to provide a region ID to a moving event and only the moving event?

Thank you in advance.​

Edit​:
Just thought of this- An alternative would be editing the regions on the map while in game so the region moves with the event.
I'm not sure how to explain this but I will give it a go with a visual example.

How the event would move -

| = Empty​​​   O = Event

Before​ pushing Event:
| O |
|  |  |
|  |  |

After pushing Event:
|  |  |​
​| O |
|  |  |​

And then the ​region would move with it like so -

| = ​Empty  O = Region

​Before pushing Event:
| O |
|  |  |
|  |  |

After pushing Event:
|  |  |
| O |
|  |  |​​


Alright, that was poorly demonstrated. But as the (poorly attempted) visual representation demonstrates, the alternative is to place the region ID down where the event is, and clear it when the event is pushed- Only to place it down again once the "pushing" is complete!

This was just another view on how this could be done. Any other alternatives or any way to do this would be great. Thanks.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
No, but that is usually not neccessary either because you can directly ccontrol the event.

Please tell us what you want to achieve ingame, and we can tell you how to do that without region IDs in the way you imagine.
 

FarrowTMana

Warper
Member
Joined
Dec 17, 2015
Messages
3
Reaction score
1
First Language
English
In my game I have set up a system to enable jumping. This was done through events, so I could not stop the player jumping onto tiles such as walls or other tiles they are not meant to jump onto. I came to a conclusion on how to solve this, and it was using regions combined with the jumping event to stop the jumping onto walls. The issue here is that I have a second event, a 'rock' that can be pushed. The player can jump into/over the rock, but I want to prevent that from happening. I thought that if there were a way to add a region ID onto an event, it would prevent the player jumping into/over the rock.

If needs be I can provide a small project that has an example of what I'm trying to achieve, as I have no idea how else I would explain it.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
No - you need to do something else.

Regions are nothing but markers, and you have something that checks for that marker. Inside this event checking for the marker, you need to add a check for the event itself to place a similiar exception.

There are several ways to check for an event depending on how the structure is defined, so if you can give us a screenshot of the jumping event we can tell you how to change it.
 

FarrowTMana

Warper
Member
Joined
Dec 17, 2015
Messages
3
Reaction score
1
First Language
English
https://onedrive.live.com/redir?resid=356FE367D214DE3C!7783&authkey=!AAUBOl5MgQAIT_8&v=3&ithint=photo%2cpng

Sorry for the long link and all. 

 The commands in the event shown in the picture were repeated 4 times, once for each direction.

Thanks again, any help i​s appreciated.

Edit-
I have found a solution. It was right in front of me the entire time. I just done what I done with regions, but with events as well. Sorry for taking up your time, Andar, and thank you again for helping me look further.​
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

On my journey of character rework: I had this character, she was meant to be just a princess that joins your party. And at long term she was just uninteresting... So I tweaked her to be a rebel agaisn't the royalty before meeting up with the party.

Quick tip for any other ametuer pixel artists! When trying to create a colour palette, enabling Antialiasing can speed up the process of creating different shades! Just place your lightest colour and your darkest colour next to each other, select both pixels, and stretch it out!
Revolutionizing the JRPG Industry: Knocking on Doors.

Take that, murderhobos.
Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.

Forum statistics

Threads
106,054
Messages
1,018,580
Members
137,843
Latest member
Betwixt000
Top