void main() { // DEFINE WHO's using the object object oUser=GetLastUsedBy(); // DEFINE effects to use. effect e1 = EffectVisualEffect(VFX_IMP_DEATH_WARD); effect e2 = EffectVisualEffect(VFX_IMP_UNSUMMON); effect eLinked = EffectLinkEffects(e1,e2); string sItemTag = GetTag(OBJECT_SELF); location lTeleport; { //DEFINE TELEPORT LOCATION lTeleport = GetLocation(GetObjectByTag("WP_TP_BLIZZARDFOREST")); } //Play conjure animation DelayCommand(3.0f, AssignCommand(oUser, PlayAnimation(ANIMATION_LOOPING_CONJURE1, 3.0f, 5.0f))); //apply the visual effect DelayCommand(3.0f, ApplyEffectToObject(DURATION_TYPE_INSTANT, eLinked, oUser, 4.0f)); // jump player to location DelayCommand(5.0f, AssignCommand(oUser, ActionJumpToLocation(lTeleport))); }