void main() { object oObject=GetLastUsedBy(); location locNew=GetLocation(GetWaypointByTag("jw_siren_tele_wp")); if (GetIsObjectValid(oObject)&&GetIsPC(oObject)) { ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_IMP_UNSUMMON),oObject); AssignCommand(oObject,JumpToLocation(locNew)); } }