Skip to content

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 ​

Stringstatus_effect_name""

Methods ​

Stringget_animation_name( phase_context: String = "" )
Stringget_start_animation()
Stringget_loop_animation()
Stringget_end_animation()
Dictionaryvalidate_phases_exist( entity_type: String )
Stringget_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