void main() { object oidUser; object oidDest; // object oidDestFailed; //int nIdx; object oAssociate; //object oRender=GetObjectByTag("jw_hulk"); oidUser = GetPCSpeaker(); oidDest = GetObjectByTag("ah_climb3_wp"); // oidDestFailed = GetObjectByTag("ah_climb3fail_wp"); // for (nIdx=1;nIdx<=5;nIdx++) /* { oAssociate=GetAssociate(nIdx,oidUser); if (GetIsObjectValid(oAssociate)) { AssignCommand(oAssociate, JumpToObject(oidDest,FALSE)); } } */ // if (ReflexSave(oidUser,16,SAVING_THROW_ALL)==0) // { // SendMessageToPC(oidUser, "You missed the ledge and fall into the darkness.."); // FloatingTextStringOnCreature("Missed the ledge..",oidUser); // AssignCommand(oidUser, JumpToObject(oidDestFailed,FALSE)); // AssignCommand(oidUser,PlaySound("as_na_splash1")); //ApplyEffectToObject(EffectKnockdown,oidUser,130.0); //ApplyEffectToObject(DURATION_TYPE_INSTANT, //EffectVisualEffect(VFX_IMP_POISON_S), oidUser); // } // else // { FloatingTextStringOnCreature("Climbing..",oidUser); SendMessageToPC(oidUser, "You manage to climb back up the chain.."); AssignCommand(oidUser, ActionJumpToObject(oidDest,FALSE)); }