
void main()
{

object oPC = GetPCSpeaker();

object oTarget;
oTarget = GetObjectByTag("RiikanDack");

AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Leave")));

oTarget = GetObjectByTag("RiikanDack");

 SetLocalString(oPC, "RiknDck", "1");

int nInt;
nInt = GetObjectType(oTarget);

oTarget = GetObjectByTag("RiikanDack");

DestroyObject(oTarget, 3.0);

oTarget = GetObjectByTag("TeraDack");

AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Leave")));

oTarget = GetObjectByTag("TeraDack");

// Update all players' journals.
    AddJournalQuestEntry("Region in Peril", 3, oPC, FALSE, TRUE);

nInt = GetObjectType(oTarget);

oTarget = GetObjectByTag("TeraDack");

DestroyObject(oTarget, 3.0);


}
