Skip to content

ForceTeleportEntityAction ​

Inherits: EventAction < Resource

Action to force an entity to teleport through a rabbit hole programmatically Bypasses normal interaction requirements

Properties ​

intinteractable_unique_id0
intentity_unique_id0

Variables ​

InteractableObjecttarget_rabbit_holenull
Entitytarget_entitynull

Methods ​

Stringget_function_description()
InteractableObjectfind_target_rabbit_hole()
Dictionarysave()
voidload_data( data: Dictionary )

Property descriptions ​

int interactable_unique_id = 0 ​

ID of the rabbit hole to use for teleportation

int entity_unique_id = 0 ​

ID of the entity to teleport

Variable descriptions ​

InteractableObject target_rabbit_hole = null ​

References

Entity target_entity = null ​

The entity that is sent (found when the action runs).

Method descriptions ​

String get_function_description() ​

Return a description of this action with parameter placeholders

InteractableObject find_target_rabbit_hole() ​

Find the target rabbit hole by ID

Dictionary save() ​

Save action state to a dictionary

void load_data( data: Dictionary ) ​

Load action state from a dictionary