Started by
KrebPleb
on
Topic category: User side tutorials
Hello! I am going to show you all how to recreate a "Sonic-Boom" like attack originally from the Warden!
Instead of making this super long paragraph that nobody wants to read... I created an image of the produce that is fully customizable and there is edited text in the image to show what you need to do. Hopefuly it helps :D
Edited by KrebPleb on Sun, 01/28/2024 - 01:51
Uh, you definitely don't want to use a global variable for your positioning, a local variable works fine- if you use global, it shouldn't reset the position after each attack. Also the look x/y/z position should only return the correct position if the entity is looking at a solid block. Are you sure this works?
yes i tested it
Okay, fair enough. Maybe I'll have to give it a try, this could be a pretty cool effect!
Ty :D If it dosnt work for you, i can try and tweak. Idk why it wouldn't tho. Enjoy!
While I haven't personally tested it, I assume that if you're using a global variable that doesn't reset, the distance between particles will gradually increase, and will be altered whenever any player interacts with the entity, not just for each individual player. I get why you're using a global variable, but you could also make separate procedures for the damage/particle effects t that have the delay built into them, or used as a custom dependency- that way you could still use local variables without it being incompatible with the wait function. (Or you could just use an alternative method of timing, like an NBT tag) If you're resetting the global variable with a different procedure, it'll work fine as is, but if so you might wanna include it.
Thats a rlly good idea, ty :D
where is the "set global : to :" block located? i cant seem to find it anywhere
or is it from a plugin?
nevermind i learned how to do it
just go to the variables tab and add a new tab
which variables tab? custom variables?
Is there a way to make a gap in time between the particles spawning and the damage being dealt? I added this to a boss and the attack is pretty much undodgeable.