void main() { object oidUser; object oidDest; int nIdx; object oAssociate; object oRender=GetObjectByTag("jw_render"); oidUser = GetPCSpeaker(); oidDest = GetObjectByTag("jw_jump_wp2"); for (nIdx=1;nIdx<=5;nIdx++) { oAssociate=GetAssociate(nIdx,oidUser); if (GetIsObjectValid(oAssociate)) { AssignCommand(oAssociate, JumpToObject(oidDest,FALSE)); } } if (ReflexSave(oidUser,24,SAVING_THROW_ALL)==0) { SendMessageToPC(oidUser,"You didn't quite make it and fell in the water"); FloatingTextStringOnCreature("Splash",oidUser); AssignCommand(oidUser,PlaySound("as_na_splash1")); ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectPoison(POISON_GARGANTUAN_SPIDER_VENOM),oidUser,130.0); ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_IMP_POISON_S),oidUser); } else { FloatingTextStringOnCreature("Made it",oidUser); } AssignCommand(oidUser, ActionJumpToObject(oidDest,FALSE)); }