Skip to main content

Teleported

Gets called when SCP-173 has teleported.

Start a script section

!-- OnEvent Teleported
-- require @evPlayer *evPosition $evIsAllowed

# Add your instructions here
  • Group: Scp173Events
  • Cancellable: No
  • Event data: Scp173TeleportedEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the SCP-173 player instance.
*evPositionreference to Vector3 objectGets the target player position that the SCP-173 has teleported to. Note that this position is on the floor and the Player has been teleported 1/2 of its character height up to prevent clipping through floor.
$evIsAllowedbool valueGets or sets whether the SCP-173 player can teleport. This even is fired even if the charge ability is not ready so you may override it on the server aswell.