Help - Search - Members - Calendar
Full Version: [HELP] Character-NPC switch puzzle
RPG RPG Revolution Forums > Scripting > Event Emporium
AphidRuin
I wonder anyone of you had came across such cases where you have some characters, then you are required to choose one of the characters to a switch, and that character will be stationary there. The others will find other switches and continue this process until all switches are being stepped on, then a certain door unlocks.

For example,

There are four characters: A, B, C, D. They went to an area where a door is locked by 4 switches. Thus, the party went to search and found one of them. A volunteered to stand on the switch. B, C and D will have to find the other 3 switches and step on them like A did. At last, when D, the last and remaining character, steps on the fourth switch, the door unlocks and he goes to find the others before they enter the door together.

My question is: The process when the character turns into an NPC and stands there, how are we going to making it possible? I have tried eventing myself and in the end messed up the whole thing.

Help is greatly appreciated. laugh.gif If any queries about my question please do ask. smile.gif
RzrBladeMontage
This is pretty simple actually, but it might be a bit confusing so I'll try to explain the best I can. We'll assume the player uses the action key to examine the switch and then character A stands on it. Using a switch, you can remove the character from your party and make an NPC stand where the switch is. Basically, just have multiple pages in your floor switch event. For page 1 have the picture just be blank (make sure the "switch" is actually ON the map, don't put it in the event picture or else when your character stands on it, the switch will disappear entirely.) and have simple inputs in the event box such as a message asking the player if they want player A to stand on the switch, when they say "yes" turn on a switch that allows page 2 in the floor switch event to be activated. On page 2 of the floor switch event, make sure the picture is of the correct character so when the switch gets turned on, that character pops up on the floor switch.

If that's too confusing let me know lol.
AphidRuin
Erm....what if I want to make the NPC stand on the switch? I mean, there is a graphic for the switch too. If at the same event box I were to only put the NPC (Character's)sprite, what would happen to the switch box below him?

I know of another way to do so, but I will be needing a lot of switches...which I don't like. My idea is that the chosen character becomes an NPC standing in front of the switch, facing it, then move forward to step on it, but wouldn't it require a lot of switches?

Anyway, thanks for your help. smile.gif
Alt_Jack
I think I know what you mean; there were a couple Marvel rpgs that had that (it annoyed me).
You could always have it move the event tiles that they stand on to an inaccessible location before they get there (so they can't access them again), then when the character is standing there, change the character's graphic to one of them standing on the switch tile (have a flashing square animation around them or something).
After the thing is done (opening a door, ect), just move the switch tiles back and change the character graphics back to normal. It's a bit of slight-of-hand magic with the graphic changes, but complex puzzles require complex systems.

try this

let's say you're opening a door. Not including the door, you'll need 3 events
switch 1:\
when player touch-move event-switch tile-location (a wall, or pond or something inaccessible to everyone)
move route-player-move forward-change graphic-flashy square graphic
turn on switch A
switch 2: same deal, but turn on switch B with that chars' graphic. You might want to set up a Call Common Event that matches the graphic to the character on the switch, too.
switch 3:
manages the whole thing
condition branch-if switch A is on-if switch B is on-move event-exchange -door (this will be a seperate blank event, so that you can't see it) with-locked door
change the graphic of both (i.e make the locked door invisible and change the blank door graphic to the SAME door, so it makes sense)

that might work. It's pretty complicated, but that's how it goes.
Also, I probably forgot something, but it's probably something blatantly obvious. sweat.gif
AphidRuin
Thanks for your reply, I will look into it. smile.gif
lilcooldude69
dude i suggest not doing this this event would be soo extensive it would blow your mind, i could make this event happen for you but it would take a while sad.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.