Semi-automatically generated modding documentation for Barotrauma

TeleportAction

Teleports a specific entity to a specific spawn point.

Attributes

Attribute Type Default value Description
Position TeleportPosition MainSub Should the entity be teleported to the main submarine or the outpost?
SpawnType SpawnType Human The type of the spawnpoint to teleport the character to.
SpawnPointTag string ”” Optional tag of the spawnpoint.
TargetTag Identifier ”” Tag of the target(s) to teleport.