#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(200, GetPCSpeaker()); object oItemToTake; oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "ZelifaxSlvKey"); if(GetIsObjectValid(oItemToTake) != 0) DestroyObject(oItemToTake); CreateObject(OBJECT_TYPE_PLACEABLE, "zelifaxspawner", lSpawn, TRUE); SetIsDestroyable(TRUE); DestroyObject(OBJECT_SELF); }