DamageInteractableAction ​
Inherits: EventAction < Resource
Action to deal damage to a destructible object
Properties ​
int | interactable_unique_id | 0 |
int | damage_amount | 10 |
int | damage_type | 0 |
Variables ​
InteractableObject | target_destructible | null |
Methods ​
String | get_function_description() |
InteractableObject | find_target_destructible() |
Dictionary | save() |
void | load_data( data: Dictionary ) |
Property descriptions ​
int interactable_unique_id = 0 ​
ID of the destructible object to damage
int damage_amount = 10 ​
Amount of damage to deal
int damage_type = 0 ​
Type of damage
Variable descriptions ​
InteractableObject target_destructible = null ​
Reference to the target destructible
Method descriptions ​
String get_function_description() ​
Return a description of this action with parameter placeholders
InteractableObject find_target_destructible() ​
Find the target destructible by ID
Dictionary save() ​
Save action state to a dictionary
void load_data( data: Dictionary ) ​
Load action state from a dictionary