void main() { object user=GetLastUsedBy(); if(!GetIsObjectValid(user)||!GetIsPC(user)) return; // We only do this for PC's // Set up our fire-and-forget visual effect. // Any of the VFX_FNF constants should work here, depending on what you want. effect eff=EffectVisualEffect(VFX_IMP_HARM); object target=GetObjectByTag("NW_Frozenportal009"); AssignCommand(user,ClearAllActions()); // Fire our visual effect ApplyEffectToObject(DURATION_TYPE_INSTANT,eff,OBJECT_SELF); AssignCommand(user,ActionJumpToObject(target)); }