Function set_object_door_teleport_state

Source
pub fn set_object_door_teleport_state(teleport_state: bool)
Expand description

Set the teleport state of the temporary object stored on the server.

If a door’s teleport state is true, interacting with the door teleports a player to its
destination. If it’s false, it opens and closes like a regular door.

teleport_state The teleport state.

Returns void