- 0
selfVariables and eventLabel for a conditions
Asked by
higgle2piggle
-
Recently Browsing 0 members
No registered users viewing this page.
Asked by
higgle2piggle
No registered users viewing this page.
I've been try to do this event puzzle for almost 2 weeks now, and I just can't get the damn thing to work exactly how I want it.
Here is what i'm trying to do.
I have a floorButton in the up position. I want it to go down when a player steps on it, and then go back up when he steps of it. (I can do this fine)
Then I wanted a pushObject to be moved by the player so that the floorButton and the pushObject have the same position, thus button goes down. ( I can do this fine also)
But here is when it gets tricky.
I want any pushObject or the player, as there may be pushObjects 10 for example, to make the floorButton go down,.
I also want the x,y variables of the floorButton to act as a self variable. So that I define the variable once in the database, then I can copy and paste the floorButton, keeping the event as is, paste the event somewhere else and it is all set to go because its using : condition - any pushObject which is equal to self x,y variables. All I would have to do at this point is just set up the switch that is activated when floorButton is down.
The last thing that would make this amazing is this, if the pushButton has turned on the switch, then when the player exits ans enters the map the x,y co-ordinate of the pushObject remains the same as the floorButton which it is on top of.
Now, I am able to do every described, except for any pushObject on floorButton, without making a vegetable soup recipe of the event commands setting up every instance of a condition with individual x,y for each pushObject.
Thats why I think, if you could label an event, then use that label in the conditions, with the ability to use selfVariables for the floorButtons, it would make RMXP so much more powerful.
If you want a demo because its to hard to explain I can prepare one.
So, what i am really looking for is an event labeling system. So that I can set up the labelled event in the conditons,
For example
if pushObject
Share this post
Link to post
Share on other sites