AnimationSelectionStatusEffect ​
Inherits: AnimationSelection < Resource
Animation selection for status effects - simplified to select one folder that contains all three phases The folder name (e.g., "incapacitated", "stun") contains start/loop/end animations automatically
Properties ​
String | status_effect_name | "" |
Methods ​
String | get_animation_name( phase_context: String = "" ) |
String | get_start_animation() |
String | get_loop_animation() |
String | get_end_animation() |
Dictionary | validate_phases_exist( entity_type: String ) |
String | get_description() |
Property descriptions ​
String status_effect_name = "" ​
The folder name under status_effects/ (e.g., "stun", "incapacitated")
Method descriptions ​
String get_animation_name( phase_context: String = "" ) ​
Get status effect animation name for a specific phase This is called by EntityAnimationPlayer when it needs a specific phase
String get_start_animation() ​
Get animation name for start phase
String get_loop_animation() ​
Get animation name for loop phase
String get_end_animation() ​
Get animation name for end phase
Dictionary validate_phases_exist( entity_type: String ) ​
Check if this status effect has all three phases available in the database
String get_description() ​
Get a user-friendly description of this status effect animation