void main()
{
  int nIslandDestroyed = GetLocalInt(OBJECT_SELF,"IslandDestroyed");
  object oPC = GetEnteringObject();
  if (nIslandDestroyed != 1)
  {
    if (GetIsPC(oPC))
    {
      AssignCommand(oPC,ActionDoCommand(ClearAllActions(TRUE)));
      float fKnockdown = 6.0f;
      ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectKnockdown(),oPC,fKnockdown);
      FloatingTextStringOnCreature("The floor suddenly drops out from under you!",oPC);
      SendMessageToPC(oPC,"You land on a pile of salt and begin to slide rapidly down into the darkness.");
      SendMessageToPC(oPC,"You slide down through a large natural chute.");
      object oDest = GetWaypointByTag("WP_BottomSlide");
      AssignCommand(oPC,DelayCommand(6.5f,ActionJumpToObject(oDest,FALSE)));
    }
  }
  else
  {
    // The Island is destroyed, you can not go back there
    if (GetIsPC(oPC))
    {
      FloatingTextStringOnCreature("The salt slide tunnel has collapsed, probably as a result of the earthquake.",oPC);
    }
  }
}
