string sDeny; string sVirk; /* Script generated by Lilac Soul's NWN Script Generator, v. 1.6 For download info, please visit: http://www.lilacsoul.revility.com */ //Put this OnEnter void main() { object oPC = GetEnteringObject(); if (!GetIsPC(oPC)) return; if (GetItemPossessedBy(oPC, "ke_reb")== OBJECT_INVALID) { sDeny="Part of the rock seemes to be smoothened down by a rope."; SendMessageToPC(oPC, sDeny); return; } object oDest = GetObjectByTag("ke_mystiskhulechasm2"); // way point tag. location lDest= GetLocation(oDest); effect eFly = EffectDisappearAppear(lDest); effect ePulseWind = EffectVisualEffect(VFX_IMP_PULSE_WIND); if(GetIsPC(oPC)) { sVirk="Tobias' old rope takes hold of your wrist and swings you over the gap with great force."; SendMessageToPC(oPC, sVirk); DelayCommand(1.8,ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eFly, oPC, 2.0)); DelayCommand(1.4,ApplyEffectToObject(DURATION_TYPE_INSTANT, ePulseWind, oPC)); } }