//Put this script OnEnter

void main()
{

object oPC = GetEnteringObject();

if (!GetIsPC(oPC)) return;

if (GetIsSkillSuccessful(oPC, SKILL_SEARCH, 25))
   {
   }


object oTarget = GetObjectByTag("RA_PLC_SARC_PRE");


if (!GetIsObjectValid(oTarget)) return;


DelayCommand(0.1f, DestroyObject(oTarget, 0.0));

object oSpawn;
location lTarget;
oTarget = GetWaypointByTag("RA_PLC_SARCOP003");

lTarget = GetLocation(oTarget);

oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "ra_plc_sarcop003", lTarget);

SendMessageToPC(oPC, "You have spotted a secret compartment on the sarcophagus.");


}