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.
Chest open

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 81
I can't remember how to make the Chest open
the only thing I can think is to use self switch for each opening sprite
can one one help?

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
You need to make it turn.
Try choosing a chest as your hero. (the one you can see on the map)
That way you can easily derive how to move the chest with a Set Move Route to animate it opening.
I believe you will also remember it better than if I just give you the solution.

*hugs*

**
Rep: +0/-0Level 81
Man i just did 18 events all with self switches and all with different sprites,
I'm going to leave it, unless you can tell me your way is better and why
but thank you for the response

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
HAHAHA 18 EVENTS?! that's the most retarded way I've ever heard.

Zeriab told you the basics. He's not into telling you the answer, he's into helping you find it for yourself so that it sinks in more.

But unfortunately he is gone, and since you're doing it just a dumb way, then I will tell you how.

ONE EVENT.

Make an event for your chest.
Make it 2 pages.
On the SECOND PAGE, turn on one of the conditions as a self switch (which ever letter you want, I use 'A' first.)
Back on the 1st page, make the event player activated.
In the event commands you only need 2 things. A movement command and a selfswitch trigger.

Movement:
      Face LEFT
      Wait: 5 Frames
      Face RIGHT
      Wait: 5 Frames
SelfSwitch A: ON

On your second page of the event, make sure that it's set to PARALLEL PROCESS. Make sure that the graphic for the second page is set as the chest that you want to open at COMPLETELY OPEN. (The last frame of the open chest.)

Now in the event commands, place whatever you need in there. The chest is open now. To end the second page, either end the event commands with a SelfSwitch A: OFF, or SelfSwitch B: ON and create new page that is the chest open and empty, or Exit Event Processing.




There you go. 1 event and maybe 4 different commands. Easier.

But if you still think making 18 different events to do this same thing is easier for you, then have fun, cause it's probably going to be similar to taking it up the butt for the first time...every time.

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
I think he meant that he made 18 chest events, not that he used 18 events to make one chest :P

**
Rep: +0/-0Level 81
Yes I made 18 chest events each with 5 pages long
so if I keep my chest events the way they are it will lag up the game?
If it doesn't I will just Keep Them

EDIT....................................

I tried it your way but it doesn't work with what I'm trying to do
what im doing is this
Spoiler for:
First page

Second page

Third page

Forth page

Fifth Page


« Last Edit: April 22, 2010, 05:08:31 PM by Solundor »

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
haha, well you only need 3 pages then. and if what i said didn't work for you, then you didn't do it right.

1st:

Condition: IF [Master Key] in inventory
  Text: Do you wish to use the master key on this chest?
  Choices:
          Yes
               Change Items [Master Key] -1
               SOUND EFFECT
               MoveCommand
                   Face LEFT
                   Wait: 5 Frames
                   Face RIGHT
                   Wait: 5 Frames
               SelfSwitch A = ON
          No
               >
               Else: N/A

2nd:

(If selfswitch A is ON)
(Make sure Parallel Process is checked)
(Event graphic as fully open chest)


Change Item [Your new shit] +1
SOUND EFFECT (item get!)
Text
       You just received a new item.
SelfSwitch B = ON

3rd:
(If selfswitch B is ON)
(Make sure Action Button is checked)
(Event graphic as closed or fully open chest)


Text
      This chest has already been looted

**
Rep: +0/-0Level 81
What the hell is wrong with me,
I followed yours to a T but it still doesn't work,
can you make a game to show me how it is spores to work

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
You might have direction fix on or something. Your graphic will constantly face the same direction, so in the movement commands, turn that stuff off, then turn it back on when it's done.

**
Rep: +0/-0Level 81
yes did it  ;8
So what i got is

Spoiler for:
First page

Second page

Third page


Is this ok or can it be done better