RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
I'm miserable with switches....

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 89
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.....

*
Resident Cloud
Rep:
Level 91
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 :)

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Points to sig

**
Rep: +0/-0Level 89
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 :)).

****
Rep:
Level 91
The easiest thing for you to do right now is to delete the event, and restart again.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
@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.

**
Rep: +0/-0Level 89
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).

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

**
Rep: +0/-0Level 89
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.....

*
Resident Cloud
Rep:
Level 91
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

**
Rep: +0/-0Level 89
Not really. The switches just won't stop even when there's a map their not suposed to be on.
Only my computer exists.....

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Quote from: Hokuten
Not 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.

**
Rep: +0/-0Level 89
I'll try that.
Only my computer exists.....

**
Rep: +0/-0Level 89
Nothing's working. I checked on the switch a couple of times. Everything seems to be functioning correctly.
Only my computer exists.....

*
Resident Cloud
Rep:
Level 91
when the hero re-enters the map from hence it came your events are repeating am i correct....

**
Rep: +0/-0Level 89
Every time I alter it, it does. When I don't the whole game freezes up.
Only my computer exists.....

*
Resident Cloud
Rep:
Level 91
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

????

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
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

**
Rep: +0/-0Level 89
Oh. That's the problem! I fixed it now. Thanx for the patience with me and the advice
Only my computer exists.....

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
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.