Skip to content

TargetStrategyDynamicPanel ​

Inherits: VBoxContainer

Dynamic property panel for TargetStrategy editing. Discovers all TargetStrategyDefinition subclass scripts in the target_strategy folder, lets the user pick one via dropdown, then auto-generates property controls from the selected class's exported properties using reflection.

Description ​

Special property handling: marker_texture → OptionButton populated from GameplayConfig.ability_target_textures has_marker → CheckBox that shows/hides the marker_* sub-section fixed_points → Array[Vector3] rendered as a dynamic add/remove list

Conditional sub-sections: MARKER_CHILD_PROPS are hidden until has_marker is checked

Variables ​

ActiveAbilityDefinitioncurrent_ability
DialogManagerdialog_manager
boolis_loadingfalse

Methods ​

voidsetup( p_dialog_manager: DialogManager )
voidload_ability( ability: ActiveAbilityDefinition )

Signals ​

strategy_modified() ​

Variable descriptions ​

ActiveAbilityDefinition current_ability ​

No description yet.

DialogManager dialog_manager ​

No description yet.

bool is_loading = false ​

No description yet.

Method descriptions ​

void setup( p_dialog_manager: DialogManager ) ​

No description yet.

void load_ability( ability: ActiveAbilityDefinition ) ​

No description yet.