Animation as Component/Variable?

Hi.

Is there a possibility to have an Animation(/-Montage) as a Component/Variable?
I’d like to have different weapons with different animations, without “hardcoding” them.

I’d like to implement the Animations into the weapon and not hardcoding them into the Character Blueprint via “Weapon XYZ is equipped, play ABC Animation”

Hi Raildex_ ,

You can add as property in our weapon class:

UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Animations")
UAnimMontage* FireAnimation;

Then in your Blueprint, from the Details panel you only need to pick the desire animation montage.

BEst regards.

Thank you. I didn’t know that you can store them as a simple variable in a blueprint :slight_smile: