#Matching attack animation to attack damage.
3 messages · Page 1 of 1 (latest)
It looks like you have applied tags to this post that conflict. Please only apply the tags that are relevant to your post. We can only help you if we know the context of your question, and applying incorrect tags makes this confusing.
You can refer to #1029468016594911232 for a description of what each tag is for!
Please make sure to read #1029468016594911232 as it may answer your question!
Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.
I got it to work using delayed attacking component: "minecraft:behavior.delayed_attack." Here's a link to use that: https://bedrock.dev/docs/stable/Entities#minecraft:behavior.delayed_attack . Then, in the animations controller, instead of using variable.attack_time, use query.is_delayed_attacking==1.
Minecraft uses this on the ravenger. Here are some links to those.
RP:https://github.com/Mojang/bedrock-samples/blob/main/resource_pack/animation_controllers/ravager.animation_controllers.json
BP:https://github.com/Mojang/bedrock-samples/blob/main/behavior_pack/entities/ravager.json