Main Menu
  • Welcome to The RPG Maker Resource Kit.

I'm miserable with switches....

Started by Hokuten, January 17, 2006, 08:00:52 PM

0 Members and 1 Guest are viewing this topic.

Hokuten

I'm kinda a newbie at switches. I know how to make them and get them to work, but I can't get them to STOP! I put in the command to tell a certain switch to stop, but they keep going anyway. I tried stopping it in a different way (I'm no good at describing things, if you haven't noticed), and it either keeps going or freezes the whole game!

Help please.
Only my computer exists.....

ahref

switches can be off or on they dont stop

could you explain the event your having trouble with maybe

ill try to help once you have done that :)

Zeriab


taleg

This is one of the reasons why I had to make the topic about my problem with switches. The 'X Switch = OFF' doesn't seem to have any effect. Pages with 'X Switch = ON' as a precondition runs anyway.. Understanding what switches are and what they are used for isn't hard, but how to apply them is a different matter. They seem to work in one case and not work in another, identical, case (which isn't logical at all, I know :)).

Inaru

The easiest thing for you to do right now is to delete the event, and restart again.

Zeriab

@taleq: I don't think it's the same problem as you had because parallel processes generally don't freeze the game. Autostart events do so however.

Anyway do as Inaru says. You might have changed a little thing which ruins the event. If you still can't make it work post your event.

taleg

you're right, but if I had been able to use switches correctly I wouldn't have gotten in to that mess (had to wade through a world of problems before arriving at the the point I described in my topic).

Jesse 015

well to fix the problem, we need to know wat u r using the switch for
Badass, and a do'er not a thinker

Hokuten

Sorry it took so long for me to reply. I had to get off the computer the secound I made this topic.

Okay, I made a switch where my main character says something and it teleports to a different map.

The next thing is a longer talking scene, fighting, and a character joins into the party.

I just want a normal map. No special events or anything if they come back to the previous map.
Only my computer exists.....

ahref

ok im asuming that when you first want the character to enter the map(before the big event) somthing happens ill use my pig town as an example:

when you first enter the map:

a  pig says hi

you go to the big event blah blah

you go back to the previous map

a pig says hi


is that the problem

Hokuten

Not really. The switches just won't stop even when there's a map their not suposed to be on.
Only my computer exists.....

Zeriab

Quote from: HokutenNot really. The switches just won't stop even when there's a map their not suposed to be on.
In that sense you can say that switches are global.
It doesn't really matter where you go.
Let's say you turn a switch on. This switch will keep being turned on until you turn it off.

I'm not really sure what your problem is, but you can try this:
In the editor: Look through your game and see where you are using switch operations in the events.
Play the game. You can look on the values of your switches when pressing F9 (might be F8 or F10, can't remember).
Note that you can't look on any local switch using that feature.
If you see a switch not behaving like it should (ie. being off when it should be on) you know in which event the problem might be.

Hokuten

Only my computer exists.....

Hokuten

Nothing's working. I checked on the switch a couple of times. Everything seems to be functioning correctly.
Only my computer exists.....

ahref

when the hero re-enters the map from hence it came your events are repeating am i correct....

Hokuten

Every time I alter it, it does. When I don't the whole game freezes up.
Only my computer exists.....

ahref

sorery im confused i need to know exactly what you mean heres another guess:

event 1 is the one where you get telported

event 2 is the big talking scene with the fighting...

------

when you get back from event 2 is event 1 repeating

ie. event 1<----->event2

????

Zeriab

Quote from: Hokuten... the whole game freezes up.
It sounds like an event on autostart is running when it shouldn't.
Try to check the conditions on the different pages of the events and see if any have autostart. Make sure there is a way out of the autostart.
The event could erase itself (it would come back after you reenter the map, so you would have to reerase it.)
The event could have another page with the condition of having a switch turned on. This page should then no be on Autostart

Hokuten

Oh. That's the problem! I fixed it now. Thanx for the patience with me and the advice
Only my computer exists.....

Zeriab

Phew... It's hard to solve a problem if you think it's caused by something else than it really is.

As this problem have been solved I think it should be locked.