#Animation attack sequence

1 messages · Page 1 of 1 (latest)

bright gull
#

how can i make attack sequence with different animations? using /playanimation in data animation con

#
{
    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.swords_attack": {
            "states": {
                "default": {
                    "transitions": [
                        {"1": "variable.attack_time>0 && query.equipped_item_any_tag('slot.weapon.mainhand','swords')&&variable.attack_time>0 && !query.is_sneaking"}
                    ]
                },
                "1": { "transitions": [ {"default": "(!variable.attack_time>0)"} ], "on_entry": [ "/playanimation @s animation.sword_attack_1","/playsound sword" ] }
            }
        }
    }
}

bright gull
rocky wave
#

using rp anim controller is easier for making consecutive attacks visual