void main() { object oPC=GetEnteringObject(); object oidDest=GetWaypointByTag("jw_gobbo_wp2"); int nIdx; object oAssociate; if (GetIsObjectValid(oPC)&&GetIsPC(oPC)) { //ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_FNF_DISPEL),oPC); AssignCommand(oPC,JumpToLocation(GetLocation(GetWaypointByTag("jw_gobbo_wp2")))); for (nIdx=1;nIdx<=5;nIdx++) { oAssociate=GetAssociate(nIdx,oPC); if (GetIsObjectValid(oAssociate)) { AssignCommand(oAssociate, JumpToObject(oidDest,FALSE)); } } AssignCommand(oPC, ActionJumpToObject(oidDest,FALSE)); } }