Status
Not open for further replies.

kood99

Villager
Member
Joined
Oct 8, 2019
Messages
13
Reaction score
1
First Language
English
Primarily Uses
RMMV
I would like some advice on how to go about making a chest with treasure that cannot be opened from certain directions because it is up on a cliff.

I have highlighted the spot I'd like to put the chest:
upload_2019-10-11_19-32-52.png
 

TWings

The Dragon Whisperer
Veteran
Joined
Jul 26, 2017
Messages
528
Reaction score
869
First Language
French
Primarily Uses
RMMV
Simplest way would be to put a condition in your chest event "If player is facing up" (you might eventually also check for player facing right).
 

NinjaKittyProductions

Professional Murder Hobos
Veteran
Joined
Jul 9, 2013
Messages
484
Reaction score
471
First Language
English
Primarily Uses
RMMV
The easiest way to do this is to check which direction the player is facing when interacting with the event.
Capture.PNG

This makes it that the chest will only open if the player is in front of the chest
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
16,150
Reaction score
8,936
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

I just don't know why, but it's funny.
5.gif
Ugh. The one time I forget to save every hour or so is also the day my computer crashes. That's life!
Even though I spent 100's of dollars on my game already. I think I might just have to give it away for free. Since I haven't heard back from people if I could use some of their graphics. Even from a global mod here. Maybe I can make a donation thing.
you know, some days you get resentful that game dev is even considered a "fun job" and other days it's like, welp, time to roll up my sleeves and code these molotov cocktails
If you suck at playing trumpets, that is probably why.

Forum statistics

Threads
115,968
Messages
1,094,505
Members
151,242
Latest member
Monopo
Top