void main() { // Remove items from the player's inventory object oItemToTake; object oPC=GetPCSpeaker(); oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "frost_portalkey_a1"); if(GetIsObjectValid(oItemToTake) != 0) DestroyObject(oItemToTake); ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_IMP_UNSUMMON),oPC); DelayCommand(0.7,AssignCommand(oPC,JumpToObject(GetWaypointByTag("frost_arena_exit_a1"),FALSE))); }