Skip to content

OnDeepSeaTeleport

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnDeepSeaTeleport( TriggerDeepSeaPortal instance, BaseEntity ent )
{
    Puts( "OnDeepSeaTeleport works!" );
}

Location

  • TriggerDeepSeaPortal::OnEntityEnter(BaseEntity ent)
csharp
//---
		}
		return;
	}
	if (this.WillTeleport)
	{
		if (Interface.CallHook("OnDeepSeaTeleport", this, ent) != null)
		{
			return;
		}
		if (this.Portal.PortalMode == DeepSeaPortal.PortalModeEnum.Entrance)
		{
//---

Released under the MIT License.