Press a button to move an object (Help please)

Vazoverse

Villager
Member
Joined
Nov 28, 2019
Messages
5
Reaction score
3
First Language
English
Primarily Uses
RMMV
So a part of this dungeon involves pressing buttons to move storage containers located elsewhere. At the beginning of the puzzle, one button corresponds to one storage container (which is what I'm focusing on at the moment). So, I have each part of the storage container as different events and I tried to link them (and the button) through a conditional branch. When I go to run the game, I go onto the button but the storage container doesn't move.

I am, admittedly, inexperienced. So, I thought to reach out and get some advice on the matter. I have attached pictures in hopes that that would help.
I am sorry for the inconvenience. Thank you and have a great day. :)
 

Attachments

  • Help 7.png
    Help 7.png
    82.1 KB · Views: 5
  • Help 6.png
    Help 6.png
    98.7 KB · Views: 5
  • Help 5.png
    Help 5.png
    81.8 KB · Views: 5
  • Help 4.png
    Help 4.png
    97.9 KB · Views: 4
  • Help 3.png
    Help 3.png
    87.7 KB · Views: 4
  • Help 2.png
    Help 2.png
    88.3 KB · Views: 4
  • Help 1.png
    Help 1.png
    289.6 KB · Views: 5

fizzly

Veteran
Veteran
Joined
Mar 23, 2012
Messages
1,013
Reaction score
635
First Language
Polish
Primarily Uses
RMMV
Um, to move the box you need to activate that switch that you've used in condition branch. You didn't do that. Switch name is not the same as event name. On button event page, add command "Control Switches" and set that "CargoStorageBox1" switch to ON there.
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
970
Reaction score
432
First Language
english
Primarily Uses
RMMV
dont have the button turn on a switch and the switch move the crate.
just have the button event move the crate and then turn on self switch so cant step on it again.

i foresee 1 problem you might run into with this. you will need something to have the crates remember that they have been moved the next time you re-enter this map.
this can be done with either separate events so after the crate moves that event gets turned off while the event it moves into gets turned on. (see screenshots)
or could use a plugin that saves event locations
 

Attachments

  • Untitled.png
    Untitled.png
    243.6 KB · Views: 3
  • Untitled2.png
    Untitled2.png
    85.7 KB · Views: 3

Vazoverse

Villager
Member
Joined
Nov 28, 2019
Messages
5
Reaction score
3
First Language
English
Primarily Uses
RMMV
Thanks for the help! I used what the both of you suggested and now it works! I really, really appreciate the help.
 

Latest Threads

Latest Profile Posts

Finally got my website fixed and the security sorted so it's been a productive day. Can I go to sleep now? I mean... I don't need to work right?
It's always a good idea to refresh yourself on what your plugins do. I'm working on a map with opening walls, and I was about to tear my hair out over how much image editing and hand-constructing of autotiles I'd have to do, when I looked again and saw @Shaz 's Tile Changer could copy areas from another map.
"sorry it took me so long to respond" - can we please agree not to say that anymore unless it actually took a long time?! (Like 36hrs at least) I mean, I'm running out of funny responses here xD
Ugh... 4:53AM over here and I can't sleep so why not just game make.
I just love the MV feature that allows you to create your own animations!

Forum statistics

Threads
115,919
Messages
1,094,013
Members
151,174
Latest member
sardin
Top