I am having this problem with an event of mine.
I have 3 normal chests with nothing extra added to them.
What I would like is for the player to be able to only chose 1 chest and the other 2 I would like for them to disappear only leaving the chest that he/she has opened. I have tried just about everything that I know of.
Thanks in advance for your help.
you can use switches instead in case you're using self-switches
I have tried just about every combination that I know of including switches and self-switches. I can make the chest appear but on disappear.
Please post the event pages... If you used switches (and the same switches) for all of them, and set it to ON correctly, then it should have worked, so you're clearly doing something wrong
Page 1 for ALL Chests:
Condition: None
Normal Treasure Chest event
Turn ON Switch 1: Chest Choice (or whatever you want to call it)
Page 2 for ALL Chests:
Condition: Switch 1 ON
Show text: "You have already chosen a treasure chest... Don't be greedy!"
~ Dinhbat
**Edit**
I'd also suggest to do a few more tutorials for Variables and Switches. The tutorials give lots of useful info that can be applied to almost anything in RM. Goodluck!
How do I post the event pages?
by screenshots of course... though if you do it like dinhbat posted it should work, if it doesn't then post your events so we can see what's wrong
Copy-Paste them into any edit... even Paint.
Upload online... there are lots of free photo uploading sites.
On the post click the picture in the menu bar (under the smiley face) and put the link for the uploaded photo in.
~ Dinhbat
I can't figure it out I am just going to write it out. I hope it is good enough to explain and understand.
Chest 1: Knife
Page 1 -
Play SE: 'Chest', 80, 100
Set Move Route: This event (Wait)
: $>Direction Fix OFF
: $>Turn Left
: $>Wait: 3 frames(s)
: $>Turn Right
: $>Wait: 3 frames(s)
Control Self Switch: A =ON
Change Weapons: [Knife] + 1
Text: -,-, Normal, Bottom
: Knife was found!
Set Move Route: [stick]
: $>Jump: +0,+0
Show Animation: [stick], [Recovery 1]
Show Animation: [baseball Bat], [Recovery 1]
Set Move Route: [baseball Bat]
: $>Jump: +0,+0
Control Switches: [0001:Bat and stick vanish] = ON
Page 2:
Nothing but the open graphic and self switch A condition.
Page 3:
Conditions:
Switch 1: 0003:knife and bat vanish
Switch 2: 0002: knife and stick vanish
Chest 2: Stick
Page 1:
Play SE: 'Chest', 80, 100
Set Move Route: This event (Wait)
: $>Direction Fix OFF
: $>Turn Left
: $>Wait: 3 frames(s)
: $>Turn Right
: $>Wait: 3 frames(s)
Control Self Switch: A =ON
Change Weapons: [Knife] + 1
Text: -,-, Normal, Bottom
: Knife was found!
Set Move Route: [Knife]
: $>Jump: +0,+0
Show Animation: [Knife], [Recovery 1]
Show Animation: [baseball Bat], [Recovery 1]
Set Move Route: [baseball Bat]
: $>Jump: +0,+0
Control Switches: [0001:knife and bat vanish] = ON
Page 2:
Nothing but the open graphic and the self switch A condition.
Page 3:
Conditions:
Switch 1: 0002:knife and stick vanish
Switch 2: 0001:Bat and stick vanish
Chest 3: Baseball Bat
Page 1:
Play SE: 'Chest', 80, 100
Set Move Route: This event (Wait)
: $>Direction Fix OFF
: $>Turn Left
: $>Wait: 3 frames(s)
: $>Turn Right
: $>Wait: 3 frames(s)
Control Self Switch: A =ON
Change Weapons: [Knife] + 1
Text: -,-, Normal, Bottom
: Knife was found!
Set Move Route: [Knife]
: $>Jump: +0,+0
Show Animation: [Knife], [Recovery 1]
Show Animation: [stick], [Recovery 1]
Set Move Route: [stick]
: $>Jump: +0,+0
Control Switches: [0001:knife and stick vanish] = ON
Page 2:
nothing but the open graphic and the self switch A condition.
Page 3:
Conditions:
Switch 1: 0003:knife and bat vanish
Switch 2: 0001:Bat and stick vanish
Use Regular Switches as I had mentioned... Don't use Self Switch.
The second page needs to include the condition of the Switch Knife and Stick Vanish ON.
You're using self switch, that is why it doesn't work... Self switches are per event that is why it's called self switch... that is why I already told you from the get go to use switches instead... and dinhbat already outlined how to do it
I think he wants the open chest graphic...
If that is the case. You need to make a 3rd event page for both. If that particular chest's self switch is ON AND the knife and stick switch is on. Then have the open chest picture.
~ Dinhbat
No I think he wants the two other to disappear afterwards... which is why he's using a lot of switches
the problem is that the conditions need to be ALL TRUE... you're using 2 switches for the disappear page so both of those switches need to be ON for the page to run... so to counter it, you need to separate it into two pages using 1 switch each
Yes, I would like the one that is opened to stay and the other 2 to be gone.
Page 1: Closed Chest Graphic
Condition: None
Normal Treasure Chest event
Self Switch ON
Switch Chest Disappear ON
Page 2: No Graphic
Condition: Switch Chest Disappear ON
Empty
Page 3: Open Chest Graphic
Condition: Self Switch ON
Empty
Higher pages take priority. So if Self Switch is ON for the one chest that you open. It will stay on screen as an open chest. The other 2 will disappear since they will meet the page 2 condition of the Global Switch: Chest Disappear ON.
~ Dinhbat
Make sure to check out some switch tutorials. I think that would have cleared this problem up fairly quickly.
Wow, That was easier than I thought it was. Thanks!
Make all 3 chests the same in this way (I'll use Switch 5 as an example, but you use whatever is available):
Page 1 has the closed graphic, gives loot to the player if they open it, turns on a self switch, and turns on switch 5 (call it Chests Opened or something like that).
Page 2 has no graphic and no event commands and is conditioned by a switch 5.
Page 3 is conditioned by the self switch and has the open chest graphic. Only put commands in there if you want it to display a message if they go back to it again after it's already open
When you open one chest, it'll give you the loot and set THAT chest's self switch on, so you'll get the open chest graphic. It'll also turn on switch 5, which activates the SECOND page of the other two chests, in effect removing them from the map.
cool, the other problem that I was having trouble with is I seem to not be able to equiped weapons after I get one from the chest. Do you know how to fix that?
Different question should go in a different thread. But you need to set a feature on your actors or classes so they can equip that type of weapon.