Skip to main content

Teleporting

Gets called when SCP-173 is teleporting.

Start a script sectionโ€‹

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

# Add your instructions here
  • Group: Scp173Events
  • Cancellable: Yes
  • Event data: Scp173TeleportingEventArgs

Injected variablesโ€‹

VariableTypeDescription
@evPlayerplayer valueGets the SCP-173 player instance.
*evPositionreference to Vector3 objectGets or sets the target player position to teleport SCP-173 player to. Note that this position is on the floor and the Player is then teleported 1/2 of its character height up to prevent clipping through floor.
$evIsAllowedbool valueWhether the event is allowed to run.

Validated examples using this eventโ€‹