Jump to content

Zuixik

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Zuixik

  1. 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

  2. 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

    1.  
      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%"
  3. 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

    1.  
      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%"
       
×
×
  • Create New...