#animation using q.property not working

1 messages · Page 1 of 1 (latest)

late ice
#

i have animation controller for player

{
    "format_version": "1.19.0",
    "animation_controllers": {
        "controller.animation.cosmetic.mount.broom": {
            "initial_state": "default",
            "states": {
                "default": {
                    "transitions": [
                        {
                            "broomidle": "q.property('cosmetic:mount') == 1;"
                        }
                    ]
                },
                "broomidle": {
                    "animations": ["broom_idle"],
                    "transitions": [
                        {"broomwalk": "q.ground_speed > 1.0"}
                    ],
                    "blend_transition": 0.2
                },
                "broomwalk": {
                    "animations": ["broom_walk"],
                    "transitions": [
                        {"broomidle": "q.ground_speed < 0.5"}
                    ],
                    "blend_transition": 0.2
                }
            }
        }
    }
}

pic 1 is the error and pic w is what it should be shown if it's working

idle spruce
#

do not use ;

late ice