Help with continuos firing

Started by Alaskaaa on

Topic category: Help with MCreator software

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with continuos firing

Hi!

I was trying to create a flamethrower that just spammed small fireballs while the right click is pressed.

I couldn't find the way to to I'd with right click so I tried to do Io with another key. I created a keybind that made it so if tab the global variable of type "Player_lifetime" (default: false) changed to true and if tab was released it changed to false. I then created a procedure that contains these blocks:

(No additional trigger)

If Get logic variable global:"variable name" = true and item in main hand of entity/target entity = (flamethrower)

Then shoot fireball of type small fireball ...

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
in advanced properties check…
Fri, 08/16/2024 - 04:36

in advanced properties check the shoot constantly when active button