- Dec 1, 2017
- Reaction score
- First Language
- Primarily Uses
what is the best way to make something like a log that takes up 3 blocks in a row, but when you push one, all 3 move together?
◆Set Movement Route：Block-A (Skip) ： ：◇Move Down ◆Set Movement Route：Block-B (Skip) ： ：◇Move Down ◆Set Movement Route：Block-C (Skip, Wait) ： ：◇Move Down
Thank you, this workedIt is technically possible using just events like posted above, but you'll run into desync issues if you get fancy with your usage and parts of the object get stuck on terrain or other objects, and working around them in an evented system can be bothersome.
I've written a little script to do this for you, attached to this post.
To make them move together, use the plugin call on your choice of trigger. This movement request checks all connected events' ability to move, and will prevent disconnections if one tile gets stuck on something, making it usable in puzzle contexts.
Below is an example using a group of 6 events. All events in this case are named log1, but you can also use event IDs if you'd prefer. In this case, the plugin call moves all events with the same name as the calling event in the same direction the player is facing. See the plugin help for more information.