Zuixik Posted August 10, 2021 Share Posted August 10, 2021 How do I save the location of the block but then it could not be destroyed? Here is the script but it does not work. I don't know how to fix it on break: {crates::NAME::locations*} is set {crates::NAME::locations*} contains location of event-block add 1 to {crates::NAME::progress} cancel event # play sound command /crate <string>: trigger: add location of target block to {crates::%argument 1%::locations::*} message "added crate %argument 1%" Link to comment Share on other sites More sharing options...
ItsKirby Posted August 10, 2021 Share Posted August 10, 2021 (edited) 1 hour ago, Zuixik said: How do I save the location of the block but then it could not be destroyed? Here is the script but it does not work. I don't know how to fix it It may not work i haven't tried. But the indention should be like this from my knowledge: on break: {crates::NAME::locations*} is set: if {crates::NAME::locations*} contains location of event-block: add 1 to {crates::NAME::progress} cancel event # play sound command /crate <string>: trigger: add location of target block to {crates::%argument 1%::locations::*} send "added crate %argument 1%" Edited August 10, 2021 by ItsKirby Yo who actually reads these [Vip] - 12/29/2020[Pro] - 1/25/2022 Link to comment Share on other sites More sharing options...
Zuixik Posted August 10, 2021 Author Share Posted August 10, 2021 (edited) Not working Edited August 10, 2021 by Zuixik Link to comment Share on other sites More sharing options...
Zuixik Posted August 10, 2021 Author Share Posted August 10, 2021 16 minutes ago, ItsKirby said: It may not work i haven't tried. But the indention should be like this from my knowledge: on break: {crates::NAME::locations*} is set: if {crates::NAME::locations*} contains location of event-block: add 1 to {crates::NAME::progress} cancel event # play sound command /crate <string>: trigger: add location of target block to {crates::%argument 1%::locations::*} send "added crate %argument 1%" The block can still be destroyed Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now