Event System Support (expert users only)

That's what I thought I was doing.  With the transfer events, the 1st tab turns on the switch, and the 2nd tab conditioned by the self switch does the transfer.  The problem is, I have 4 events, and when the door slides up the bottom 2 events move up 1 square.  So I need to move 2 events into the now empty squares, to function as the teleport events.

Unless it's possible to stack events on the same square somehow?

Also, thanks tons for the input!!
That's what I thought I was doing.  With the transfer events, the 1st tab turns on the switch, and the 2nd tab conditioned by the self switch does the transfer.  The problem is, I have 4 events, and when the door slides up the bottom 2 events move up 1 square.  So I need to move 2 events into the now empty squares, to function as the teleport events.

Also, thanks tons for the input!!
Or you let the events trade responsibility. If you want it to be already open the second time you get in that room, the easiest way would be for the upper events to show the doors and the lower to trigger player transfer when the player steps on them.
WOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!

I got it to work.  Using everything you guys said, I completely re-evaluated the way I was doing it.

Now.  The top two events serve no function other then graphics.

The bottom two, when either one is activated both will slide up "under" the top two graphics.  It will then activate 2 switches (5 & 6). (1 for moving the player, 1 for moving the event) Page 4 will now check Switch 5, if it's ON (which it is from earlier), it will move the event back to it's original point (since we had previously slid it up), then turn Switch 5 off, so that the condition is no longer met, and when determining which page to priorities, it will skip 4, and go to 3.  Page 3 is conditioned on switch 6 being on (which it is from the moving), and moves the player.  It stays on, and now becomes prioritiezed 100% of the time.  Page 3/4 have no graphics, page 1/2 have the lower door section graphics.  And Page 2 for both lower events make it so that anything that happens with one event, happens with another.  And since these are the original 2 events, when you change maps, and events go back to default starting position, they're already where they need to be, so no need to move them (Switch 5 is not needed again), and Switch 6 is saved as on, they just take over the function of providing transport.

Now that I got it, and see how it's done.  This is a really simple event.  I was just over-complicating it, and tripping over myself as it were.

Thanks a ton for all the great advice!

<3
Hi! Reading the "creating support thread" thread, I believe this is the right place to pose the question.

Basically, I have an npc character, a "murderer", move along a fixed path towards an end goal, his "victim". Before the npc gets there, the player can do one of several things.

a ) The player can walk up to the npc and... well, just get killed.

b ) The player can walk over to a sword located on a wall, acquire said sword, and then walk up to the npc, thereby killing him.

c ) The player can do nothing and let the "victim" die.

d ) The player can "save" the "victim" but then when the "murderer" gets to the supposed location of the victim, he'll give chase to the player instead.

Now I've managed to get most of these things done, but I think there's something about priorities I'm not grasping correctly. Currently, I have two event pages on the murderer npc. One will start the movement along the fixed path via events running on parallel process. After the completion of the movement, the next event in the list will check if the victim has been saved or not (switches) and if he has been saved, shout something and then give chase to the player. The first problem here is that even using the "Move Toward Player" movement event, the npc seems to... turn around and run into a wall... yeah... 

http://puu.sh/292TT - Ignore the nonsensical text. It's placeholder for now.

Second, the player is meant to either kill or be killed by the murderer should s/he bump into the murderer before he reaches the victim. 

http://puu.sh/292Wu - Again, placeholder text.

If I were to flip the events in the pages around so that the events in page 1 were to be in page 2 and vice versa, the movement will not initiate, but the kill/be killed sequence will properly executed. I gather from this that should multiple pages of events have all their proper conditions be met for execution, the page with the higher number will be the only one to execute. Is there a way to make it so that both pages are being checked for their conditions? Unless I'm thinking of it in an overly complicated manner, I believe I do need two pages as there would be an active process (movement+check if victim is saved or not) as well as a passive process (waiting for player to interact with npc through touch)

Thanks in advance! Hope my question isn't too much of a hassle ^^;
Two pages should never have the same conditions (including NO conditions at all). The engine looks at the pages from the highest number to the lowest number, and as soon as it finds one whose conditions are met, it makes that active. Since neither of your pages have any conditions, whatever is on page 2 will always be what's executed.


Here's what I'd do (note, Autonomous Movement means changing the Fixed drop-down to Custom and entering a move route - this is NOT the Set Move Route command that you put in your event commands list):


Page 1 (make murderer approach victim and react to player if necessary)


Conditions: none


Autonomous Movement: move route taking murderer to victim's position; at the end, turn on a switch (which I'll call Murderer Reaches Victim)


Trigger: Player Touch


Event Commands: Add a conditional branch to see if the player has the sword.


If player does not have sword, make murderer kill the player (which I assume ends the game, so you don't need any further commands).


If player has the sword, make player kill murderer, turn on self switch A and do any other commands that you want to happen when the murderer is defeated.


Page 2 (murderer kills victim or chases player)


Conditions: Murderer Reaches Victim switch


Trigger: Parallel Process


Event Commands: Add a conditional branch to see if the player has warned the victim.


If player has warned victim, turn on self switch B.


If player has not warned victim, make murderer kill victim, do any other commands that you want to happen when the victim is killed, and turn on self switch C.


Page 3 (murderer chases player)


Conditions: self switch B is on


Trigger: Player Touch


Autonomous Movement: a single move toward player command, with repeat checked, and wait and skip unchecked.


Event Commands: make murderer kill the player (again, end of game)


Alternately, you could add the same event commands that you had on page 1, so it will check if the player has the sword (if player could warn victim, then run for the sword while being chased).


Page 4 (murderer kills victim)


Conditions: self switch C is on


Trigger/Movement/Event Commands: Can't really say, as you didn't indicate what you want to happen AFTER the victim is killed. It just does need to make a new event page active to stop the parallel process page from looping.


Page 5 (murderer was killed)


Conditions: self switch A is on


Graphic: none


Trigger: leave as default


You'll probably have to modify that a little, due to assumptions I've made or things I've left out due to lack of detail in your request. But that should get you started.
Ah, bad practice on my part then, I suppose. 'Tis what I get for trying to dive right into these things on my first day with RMVA 😛

Thanks, though! I got it to work with appropriate tweaks. Works like a charm and I even added sound effects, lol

Again, thanks for the help! I'll keep the advice in mind for future reference as well.
I hope this qualifies as a complex event question. The Players come into a cave area with treasure chests. I want the event, which is a confrontation with enemies, to fire as soon as the player is within one or two spaces of the event itself. Is ther a way to have the event fire like that.
If the event doesn't move around, or only moves around a little, you can just set another event, with no graphic, set to below characters and player touch, at the point where you want the confrontation to begin. Player walks over it, triggers it, confrontation happens even though the visible enemies might be a few tiles away.
I'm not sure if I should open or not a new thread, anyway... I'm using Ace Lite and so i can't use scripts (wich would be waaay easier) and I'm making a character select system. Here a screenshot from the the event, nevermind the portuguese comments:


[IMG]http://i.imgur.com/8LufcYV.png[/IMG]


Two things happen with this event: when you press the left button it selects the previous character and when you press the right button, it selects the next character. The problem is: when I press the left button, the selection moves more than one time, cycling through the character list way too fast. I need to make it move only once per button press.
I would have a switch for each button - I'll call them SWITCH LEFT and SWITCH RIGHT. Then use a series of nested conditions to turn the switch on and off when the button is pressed and released, and only process your event commands if the button is pressed but the switch for that button is currently off.

Something like this:

Code:
Conditional Branch: The Left Button is Being Pressed  Conditional Branch: Switch (SWITCH LEFT) is OFF    Comment: Turn on the switch so this only happens once per button press    Control Switches (SWITCH LEFT) = ON    <<< then do what you want to do here when the button is pressed >>>    <<< that will be the $game_variables[3] conditional branch >>>  Branch End  Else  Comment: The button is not being pressed - ensure the switch reflects that  Control Switches (SWITCH LEFT) = OFFBranch End
Thanks Shaz, that worked like a charm.
Actually, I would not do what Shaz did, and simply use this script condition instead of 'being pressed':

Code:
Input.trigger?(Input::LEFT)
Replace LEFT with RIGHT for the other way around. This register only one button press, whereas 'being pressed' registers the player continuously pressing the button, hence why it cycles too fast.
I did wonder about Input.trigger? but I tested it out, and it didn't trigger all the time - I was cycling between all 4 direction keys, and the 'trigger' event only registered a few times, not every time a new key was pressed.


But try it out - if it works, it's definitely a better way to do it.
Input.trigger checks if the key is being pressed again and is has a cooldown (not sure), so if you press a key then press it again right after releasing that key it won't trigger.
Input.trigger checks if the key is being pressed again and is has a cooldown (not sure), so if you press a key then press it again right after releasing that key it won't trigger.
almost right. it checks if the tagged key is pressed, not held down. It has a small cooldown, but it works better for things like custom evented menu's.
'eeeeey. I'm wondering how to...

Well, I have a scene with five Actors that's triggered by the player walking into the room. I want one Actor to move to the wall and hit a switch, which moves an object to the side, revealing a staircase which they all then descend. Having a bit of trouble with it, though. I tried to make the object an actor itself, but then I couldn't really tie it to the other actor pushing the button. (When I say that, I mean 'I' as in me personally. I'm terrible at coding.)

Not sure if I explained that well enough.

Edit: Forgot to mention, the object is two tiles tall.
@Kopikatsu this is an event system support, meaning that whenever you're trying to come up with something complicated that ends in -system (battle system, character selection system, time system, farming system etc.) you post it here. Everything else gets its own topic, so please do that.
Okay so if i wanted to make a cutscene event with rpg maker and wanted it to fade to black and white (like a memory) how would i do that... like say only show black and white as colors like a grayscale effect... im using this for the beggining cutscene ... i think scripting the event maybe easy but as i am not literate in this particular scripting language this makes it quite difficult
@mageprince2011: create your own thread for this. This thread is for advanced eventing only.
 wouldn't that be considered advanced eventing?

Original thread: https://forums.rpgmakerweb.com/threads/event-system-support-expert-users-only.51/