Skip to content

NpcEditor ​

Inherits: ResourceEditor < Control

Entity Editor for managing NPCDefinitions resources

Variables ​

NPCDefinition:current_entity_data
boolis_editing_templatefalse
Array[String]available_collision_shapes[]
Array[String]available_voice_types[]
Array[String]available_voice_variants[]
Array[String]available_motion_entities[]
EditorResourcePickerfootprint_picker
Array[String]available_animation_types[]
Array[String]available_attack_tags[]
Array[String]available_stance_tags[]
Array[String]available_aim_tags[]
Array[String]available_reload_tags[]
AssetViewport3Dmodel_preview

Methods ​

voidsetup_managers( p_resource_manager: ResourceManager, p_dialog_manager: DialogManager )
EntityDefinitionget_current_entity_data()
voidset_current_entity( entity_data: EntityDefinition )
voidrefresh_database_references()

Variable descriptions ​

NPCDefinition: current_entity_data ​

No description yet.

bool is_editing_template = false ​

No description yet.

Array[String] available_collision_shapes = [] ​

No description yet.

Array[String] available_voice_types = [] ​

No description yet.

Array[String] available_voice_variants = [] ​

No description yet.

Array[String] available_motion_entities = [] ​

No description yet.

EditorResourcePicker footprint_picker ​

No description yet.

Array[String] available_animation_types = [] ​

No description yet.

Array[String] available_attack_tags = [] ​

No description yet.

Array[String] available_stance_tags = [] ​

No description yet.

Array[String] available_aim_tags = [] ​

No description yet.

Array[String] available_reload_tags = [] ​

No description yet.

AssetViewport3D model_preview ​

The 3D preview of the skeleton under the button that chooses it (made the first time it is needed)

Method descriptions ​

void setup_managers( p_resource_manager: ResourceManager, p_dialog_manager: DialogManager ) ​

Overrides this function of ResourceEditor.

EntityDefinition get_current_entity_data() ​

No description yet.

void set_current_entity( entity_data: EntityDefinition ) ​

No description yet.

void refresh_database_references() ​

No description yet.