Function
Slow
Melee:AddAnimationCharacterUse
Sets an Animation when attacking<br/><br/>You can add more than one animation, which will be selected randomly when attacking
Syntax
my_melee:AddAnimationCharacterUse(asset_path, play_rate = 1.0, slot_Type = AnimationSlotType.UpperBody)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
asset_path
|
AnimationPath | — | The Animation used when attacking |
play_rate
optional
|
float | 1.0 |
The Animation Play Rate |
slot_Type
optional
|
AnimationSlotType | AnimationSlotType.UpperBody |
Whether to play it on upper body or full body |