#include "nw_i0_tool" void main() { object oArea = GetArea (OBJECT_SELF); vector vPosition = GetPosition (OBJECT_SELF); float fOrientation = GetFacing (OBJECT_SELF); location lSpawn = Location (oArea, vPosition, fOrientation); RewardPartyXP(40, GetPCSpeaker()); object oItemToTake; oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "OgresCageKey"); if(GetIsObjectValid(oItemToTake) != 0) DestroyObject(oItemToTake); AdjustReputation(GetPCSpeaker(), GetObjectByTag("ogre_captive"), 2); CreateObject(OBJECT_TYPE_PLACEABLE, "invisobj001", lSpawn, TRUE); SetIsDestroyable(TRUE); DestroyObject(OBJECT_SELF); }