SummonInteractableEffect ​
Inherits: Effect < DatabaseResource < Resource
Summons an interactable object for the user
Properties ​
int | interactable_id | 0 |
String | display_name_override | "": |
bool | spawn_at_target | false |
float | position_variance | 2.0 |
Vector3 | position_offset | Vector3.ZERO |
bool | random_rotation | true |
Methods ​
void | specific_effect_logic( effect_instance: EffectInstance ) |
void | on_apply_finished( effect_instance: EffectInstance ) |
void | create_summoned_interactable( effect_instance: EffectInstance ) |
String | get_category() |
String | get_simple_description() |
String | get_detailed_description() |
bool | is_one_off_application() |
Property descriptions ​
Interactable
int interactable_id = 0 ​
ID of the interactable to spawn
String display_name_override = "": ​
Optional display name override for the spawned interactable
Positioning
bool spawn_at_target = false ​
Spawn at target position instead of originator
float position_variance = 2.0 ​
Random variance radius (meters) around spawn position
Vector3 position_offset = Vector3.ZERO ​
Fixed offset from spawn position
Rotation
bool random_rotation = true ​
Apply random Y rotation
Method descriptions ​
void specific_effect_logic( effect_instance: EffectInstance ) ​
What the effect does to its target when it is applied.
void on_apply_finished( effect_instance: EffectInstance ) ​
Called when the effect ends: takes back what it did.
void create_summoned_interactable( effect_instance: EffectInstance ) ​
Makes the object in the world for the user.
String get_category() ​
The group of the effect in the editor.
String get_simple_description() ​
A short text about what the effect does.
String get_detailed_description() ​
A longer text about what the effect does, with the name of the object.
bool is_one_off_application() ​
What this effect does it does once, when it is applied: a loaded save does not do it again