Function
Slow
CharacterSimple:PlayAnimation
Plays an Animation Montage on this character
Syntax
my_character_simple:PlayAnimation(animation_path, slot_name = "", loop_indefinitely = false, blend_in_time = 0.25, blend_out_time = 0.25, play_rate = 1.0, stop_all_montages = false)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
animation_path
|
AnimationPath | — | — |
slot_name
optional
|
string | "" |
— |
loop_indefinitely
optional
|
boolean | false |
— |
blend_in_time
optional
|
float | 0.25 |
— |
blend_out_time
optional
|
float | 0.25 |
Pass it -1 to disable auto blend out and keep the animation running in last pose forever |
play_rate
optional
|
float | 1.0 |
— |
stop_all_montages
optional
|
boolean | false |
Stops all running Montages from the same Group |