Type
Incident
Introduction
This incident block can be activated when a player has teleported through a portal. When this block is activated it will return the triggering player and portal entity parameters and execute the script under this block. You can use the returned parameter of this block for special game effects. For instance, adding visual effects to the player who teleported.
Input parameter
Input parameter | Parameter type | Description |
---|---|---|
Entity | Entity | The player that uses a portal |
Portal entity | TeleportDoor | The portal entity that the player used |