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.
[RESOLVED] Locked Treasure Chests...help

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 87
...I'M HUNGRY! Food plawks
I got my treasure chest to work, but I want it to require a key. However, when I try to add a conditional branch, the "open" graphic activates whether the player has the key or not. Note it does NOT give the money and "open" message unless the key is possessed. Just the graphic changes.

Any suggestions? I've tried using a loacal switch and regular switch, and neither can control the graphic  :-[

EDIT: Played around with the move event function and that got it working, but now I have a new problem: How can I make the graphic of the open chest remain AFTER the event erases itself (I want the empty chest, but not the event that gives 500 gold!)

EDIT: Wow, I should really stop working on a problem after I posted looking for help...again, figured it out myself. Instead of using the "erase event" command, I tried "end event processing" and that seems to have done the trick  ;D

Sorry for the spam :police:
« Last Edit: December 26, 2007, 07:03:04 PM by Zeriab »

*
Rep:
Level 102
2014 Biggest Narcissist Award2014 Biggest Forum Potato2014 Best Non-RM Creator2013 Best Game Creator (Non-RM)2013 Best IRC ChatterboxParticipant - GIAW 112012 Most Successful Troll2012 Funniest Member2012 Best Use Of Avatar and Signature space2012 Best IRC ChatterboxSecret Santa 2012 ParticipantProject of the Month winner for November 2009For being a noted contributor to the RMRK Wiki2010 Most Successful Troll2010 Biggest Forum Couch Potato2010 Best IRC Chatterbox
To make the graphic remain use a switch. Activate the switch at the end of the event inside the conditional branch. Make a new page with the graphic you want it to stay at. Then make the switch under precondition.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
it isn't spam. Any question is welcomed.
well you got it right? so add [RESOLVED] to your topic title, but leave topic open incase others have questions/comments on what happened.
Watch out for: HaloOfTheSun