//:://///////////////////////////////////////////// //:: FileName gl_give_item2 //::////////////////////////////////////////////// //::////////////////////////////////////////////// //:: Created By: Script Wizard //:: Created On: 5/8/2004 7:08:05 PM //::////////////////////////////////////////////// #include "nw_i0_henchman" void main() { object oPC = GetPCSpeaker(); object oItemToTake2; oItemToTake2 = GetItemPossessedBy(oPC, "LighthouseKey"); DestroyObject(oItemToTake2); SetFormerMaster(GetPCSpeaker(), OBJECT_SELF); RemoveHenchman(GetPCSpeaker()); ClearAllActions(); object oTarget = GetWaypointByTag("BagOfRats"); //or whatever the tag is for your destination waypoint AssignCommand(OBJECT_SELF, JumpToObject(oTarget)); CreateObject(OBJECT_TYPE_PLACEABLE, "stakedoutcapta", GetLocation(GetObjectByTag("SOCpoint"))); }