void main() { object oPC=GetEnteringObject(); object oidDest=GetWaypointByTag("jw_gobbo_wp1"); int nIdx; object oAssociate; if (GetIsObjectValid(oPC)&&GetIsPC(oPC)&&(GetRacialType(oPC)==RACIAL_TYPE_ANIMAL)) { ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_FNF_DISPEL),oPC); AssignCommand(oPC,JumpToLocation(GetLocation(GetWaypointByTag("jw_gobbo_wp1")))); for (nIdx=1;nIdx<=5;nIdx++) { oAssociate=GetAssociate(nIdx,oPC); if (GetIsObjectValid(oAssociate)) { AssignCommand(oAssociate, JumpToObject(oidDest,FALSE)); } } AssignCommand(oPC, ActionJumpToObject(oidDest,FALSE)); } else { if (GetIsObjectValid(oPC)&&GetIsPC(oPC)) { SendMessageToPC(oPC,"You feel uneasy as you stand before the gate, as if the place it leads to was not meant for you."); } } }