Remote bomb

Started by coderclub123 on

Topic category: Plugins and third-party tools

Last seen on 20:09, 17. May 2023
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Remote bomb

hello i want to make a remote controlled bomb and i designed its controller but it doesn't save the coordinate of the block. Please help

Last seen on 15:09, 4. Jul 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know you asked me to help…
Fri, 05/19/2023 - 22:46

I know you asked me to help with this but I can barely add a feature let alone help with this

Last seen on 06:07, 31. Jan 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, here's how you can do it…
Sun, 06/11/2023 - 13:32

Hi, here's how you can do it, it's all tested and working:

1) You must have these 2 procedures:

  1. ControllerSetBomb
  2. ControllerActivateBomb

 

  1. ControllerSetBomb:

     

  2. ControllerActivateBomb:

For this procedure you need to set 4 local variables:

If you don't know how to create them, here's how:

  1. Looking all the way to the right you'll see a small panel that says "Local variables"
  2. Click the "+" symbol
  3. Then you will see a screen like this:

  4. In total you will need to create 4 variables, 1 of type "Itemstack" and the other 3 of type "Number"

    Then change the type of the variable from "Blockstate" to "Itemstack"

    Click on "Save" and then repeat the process to create the other 3. Then you will have to change the type from "Blockstate" to "Number"

    Then create the other 2 last remaining variables "yCoord" and "zCoord"

     

    The procedure then you will have to build it like this:

    (Make sure that in the Event trigger (the first green block of the procedure) you select "Player right clicks with item")

 

2) After that you have both procedures, go to the "Triggers" section of your controller item and in the trigger "When right-clicked on block (block pos.)" set the procedure "ControllerSet"

 

3) Finished! You now have your working controller