ObjectTeleportationTrigger ​
Inherits: EventTrigger < Resource
Triggers when an entity uses a rabbit hole for teleportation
Properties ​
int | interactable_unique_id | 0 |
TeleportationTriggerType | trigger_on | TeleportationTriggerType.ENTERED |
Variables ​
InteractableObject | target_object | null |
Methods ​
String | get_display_name() |
String | get_function_description() |
void | setup() |
void | cleanup() |
void | find_target_object() |
bool | is_triggered( event_data: Dictionary ) |
String | generate_objective_description() |
Enumerations ​
enum TeleportationTriggerType ​
The options of teleportation trigger type: entered, exited, failed.
- ENTERED =
0 - EXITED =
1
Property descriptions ​
int interactable_unique_id = 0 ​
The object ID to track
TeleportationTriggerType trigger_on = TeleportationTriggerType.ENTERED ​
Which teleportation event to trigger on
Variable descriptions ​
InteractableObject target_object = null ​
Reference to the target rabbit hole object
Method descriptions ​
String get_display_name() ​
Return the display name for this trigger
String get_function_description() ​
Return the function description with parameter placeholders
void setup() ​
Set up any listeners or connections needed by this trigger
void cleanup() ​
Clean up any listeners or connections
void find_target_object() ​
Try to find the target object in the world
bool is_triggered( event_data: Dictionary ) ​
Check if this trigger is currently active
String generate_objective_description() ​
Generate quest objective description