How to make a entity shoot lots of projectiles like mobzilla

Started by HeavilySusYT on

Topic category: Help with MCreator software

Last seen on 21:36, 18. Jan 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a entity shoot lots of projectiles like mobzilla

i want to make a mob shoot lots of ghastballs, but i cant get it shoot more than 1 at a time 

Last seen on 00:07, 8. Apr 2024
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could use some…
Fri, 11/18/2022 - 22:00

You could use some procedures to do this

Use that wierd projectile procedure and set the directions to the direction your entity is facing.
Use a repeat to make it go however many times you want.

Note that this will work like a shotgun as the repeat is basically instant; all projectiles get created at the same time.

To make this actually happen, set the shotgun procedure for on tick update and then implement a random chance so it doesn't happen constantly and lag out the game. Then use an if do loop to check if the entity currently has a living target.

I used it for a boss attack and it worked pretty well.

Last seen on 21:36, 18. Jan 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
could i get a visual for…
Sat, 11/19/2022 - 19:33

could i get a visual for what that would look like? also im using an older version so hopefully i could even do that