//:://///////////////////////////////////////////// //:: FileName aw_takerunesforp //::////////////////////////////////////////////// //::////////////////////////////////////////////// //:: Created By: Script Wizard //:: Created On: 11/27/2003 12:06:31 PM //::////////////////////////////////////////////// void main() { // Remove items from the player's inventory object oItemToTake; oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "AWRUNE001"); if(GetIsObjectValid(oItemToTake) != 0) DestroyObject(oItemToTake); oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "AWRUNE002"); if(GetIsObjectValid(oItemToTake) != 0) DestroyObject(oItemToTake); oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "AWRUNE003"); if(GetIsObjectValid(oItemToTake) != 0) DestroyObject(oItemToTake); oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "AWRUNE004"); if(GetIsObjectValid(oItemToTake) != 0) DestroyObject(oItemToTake); object oTarget; object oSpawn; location lTarget; oTarget = GetWaypointByTag("WP_VERAPORTAL"); lTarget = GetLocation(oTarget); oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "portaltovera", lTarget); DestroyObject(oSpawn, 300.0); }