Skip to content

AnimationSelectionDialog ​

Inherits: ConfirmationDialog

Enhanced animation selection dialog with per-library animation mappings for non-weapon categories

Variables ​

VBoxContainerlibrary_animations_container
Dictionarylibrary_animation_rows{} # library_name -> {container, dropdown}
Buttonremove_animation_button
Stringselection_class_type"AnimationSelectionAbility"
AnimationSelectioncurrent_selection
boolis_loadingfalse
ResourceManagerresource_manager
Array[Dictionary]available_weapon_tags[] # [{display_name, attack_tag, weapon_class}]

Methods ​

voidset_resource_manager( p_resource_manager: ResourceManager )
voidedit_animation_selection( selection: AnimationSelection, class_type: String = "", preview_entity_ref: Entity = null )
voidcreate_new_animation_selection( class_type: String, preview_entity_ref: Entity = null )
Stringget_current_selection_description()

Signals ​

selection_made( selection: AnimationSelection ) ​

Variable descriptions ​

VBoxContainer library_animations_container ​

No description yet.

Dictionary library_animation_rows = # library_name -> container, dropdown ​

No description yet.

Button remove_animation_button ​

No description yet.

String selection_class_type = "AnimationSelectionAbility" ​

No description yet.

AnimationSelection current_selection ​

No description yet.

bool is_loading = false ​

No description yet.

ResourceManager resource_manager ​

No description yet.

Array[Dictionary] available_weapon_tags = [] # [display_name, attack_tag, weapon_class] ​

No description yet.

Method descriptions ​

void set_resource_manager( p_resource_manager: ResourceManager ) ​

Set the resource manager for loading WeaponClassDefinitions

void edit_animation_selection( selection: AnimationSelection, class_type: String = "", preview_entity_ref: Entity = null ) ​

No description yet.

void create_new_animation_selection( class_type: String, preview_entity_ref: Entity = null ) ​

No description yet.

String get_current_selection_description() ​

No description yet.