Started by
Sharpblade1
on
Topic category: Help with MCreator software
In creating bosses for my map, I want them to have custom attacks. I’ve been trying to use a timer so that the attacks will be evenly spaced. However, in looking up tutorials and testing I have not been able to get them to work, NBT or Global timers.
In the mod “Call of Yucatah” the creators are able to give their bosses custom attacks. I was wondering is there anything you can suggest for timers or other ways of doing this.
Thank you very much.
I made a boss only one, but it works really well so I'll tell you what I've done
on every entity tick update if the entity is targeting another entity store in a local variable a number between 1 and something big like 20000, then do something like
if variable >1800 do attack 1
if variable > 1200 and variable <1500 do attack 2
if variable > 700 and variable <900 do attack 3
I used random numbers as an example, do some testing an set the right numbers to make so that the boss doesn't attack every tick but still isn't super slow attacking
Thanks
Also if you could send a screenshot, showing the procedure that would be very helpful.
https://imgur.com/a/lAR7I2x
Thank you ever so much for both screenshots, I will test that and hopeful it will go with out a hitch.
Again thank God bless.
you're welcome