Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Switchs dont recognise each other

Oliver_

Villager
Xy$
0.00
So I'm in a tent and I set a switch(rope to pull) to open a trap door but no mater what I do it wont open
...
I know what your thinking I did something wrong, But I didn't I set up a barrel to change to a man by using the same switch, and guess what that works... can any one help
 

Cunechan

∠( ᐛ 」∠)_
Did you check if the event site without conditions is the first one ? If you fe make the second event site without conditions and the fiest one with condition (as in swtich x= true) it 'dominates' the first one and the system doesn't care about the first event page (aww)
 

Mr. Trivel

Praised Adventurer
Xy$
0.00
How do you have your event pages set up? (Screenshots would help)
Event pages order is important, too.

Edit: Ninja'd by Cunechan
 
Usually in your event to change the trap door, set the switch trigger to "Autorun". Doesn't work with self-switches.

Edit: Double Ninja'd.
 
Last edited:

Oliver_

Villager
Xy$
0.00
Can't screen shot but it looks like this:

Rope : (at school don't know code but) turns switch 1 to on
plays se switch 3
(this all works fine, no problems)

Person: event page one
nothing but skin
Event page two
event page to is on when switch is pulled
and has no skin

Door:
Event page 1:
Switch on
The door seems to be open
transfer play...
Event page 2:
Switch is off
show text "The door seems to be locked"

Person and switch(rope) both work but door doesn't , No Idea why...
remember I am English so time zone differ...
screen shot should be up by 4:00 London,dublin time!
 

MinisterJay

Administrator
Staff member
Administrator
I am going to focus on the door. When Switch 1 is on, the dialogue says, "The door seems to be open." Then the next line transfers the person to inside the room, another map. When Switch 1 is off, the dialogue says, "The door seems to be locked.", and after that the event ends.

Did you assign a new map and coordinate for the transfer to go to? I have accidentally forgotten to do this before. It results in the character staying exactly where they were at before.
 

Oliver_

Villager
Xy$
0.00
View attachment 2429
I am going to focus on the door. When Switch 1 is on, the dialogue says, "The door seems to be open." Then the next line transfers the person to inside the room, another map. When Switch 1 is off, the dialogue says, "The door seems to be locked.", and after that the event ends.

Did you assign a new map and coordinate for the transfer to go to? I have accidentally forgotten to do this before. It results in the character staying exactly where they were at before.
Ye I have, here is the code Door.PNG Door 2.PNG Switch.PNG
 

MinisterJay

Administrator
Staff member
Administrator
On 3rd page, I noticed that Self-Switch B on is checked, but I do not see a command to turn the Self-Switch B on, in the previous two pages.

It's a different event. Could you please show the 1st two pages of that event please?
 

MistyDay

Adventurer
Xy$
0.00
I think, if You wanna step at that particular place, you have to set trigger on 1st page to "event touch", or if you wanna use action button, you have to to set priority to "same as character"
Now it will work for sure.
 

Oliver_

Villager
Xy$
0.00
What map and coordinates is the door event at?
Same as switch
switch: 8,5
door:8,8
[doublepost=1456161111,1456161053][/doublepost]
I think, if You wanna step at that particular place, you have to set trigger on 1st page to "event touch", or if you wanna use action button, you have to to set priority to "same as character"
Now it will work for sure.
you say that but it doesn't
I have no Idea why but no matter the switch (checked on f9) the door is locked! Grr!
But thank you for trying,
 

MinisterJay

Administrator
Staff member
Administrator
Just caught it, I think. Change the Priority to Same as Character, for Pages 1 and 2.

Changing it to Player Touch would help too.
 
Last edited:

Oliver_

Villager
Xy$
0.00
I'll try that
Doesn't work man
that sucks.
[doublepost=1456162543,1456162515][/doublepost]
Yes, I just cant see any other problem, really..
Nor can I so why is it not working
[doublepost=1456162586][/doublepost]I'm going to put the game up here to see if you guy can see if there is anything wrong...k
[doublepost=1456162743][/doublepost]
Doesn't work man
that sucks.
[doublepost=1456162543,1456162515][/doublepost]
Nor can I so why is it not working
[doublepost=1456162586][/doublepost]I'm going to put the game up here to see if you guy can see if there is anything wrong...k
But how do you do that?
 

Mr. Trivel

Praised Adventurer
Xy$
0.00
From my original post:
"Event pages order is important, too."

Event pages work from right to left. Not left to right.
So in your screenshot, the empty Page 2. Since page 2 doesn't have any conditions to run. It will run all the time. Skipping to check for switch in page 1.
So switch page 1 with page 2 there.
 

Oliver_

Villager
Xy$
0.00
From my original post:
"Event pages order is important, too."

Event pages work from right to left. Not left to right.
So in your screenshot, the empty Page 2. Since page 2 doesn't have any conditions to run. It will run all the time. Skipping to check for switch in page 1.
So switch page 1 with page 2 there.
You saying this made me check my entire code... thank you so much, some where down the line I put a turn switch on so the door where always. so I flipped the pages... now that deleted and I swapped then back it works great! THANK YOU!
 
Top