object oDeny; /* Script generated by Lilac Soul's NWN Script Generator, v. 1.2 For download info, please visit: http://www.angelfire.com/space/lilacsoul */ //Put this OnOpen void main() { DelayCommand(5.0, ActionCloseDoor(OBJECT_SELF)); object oPC = GetLastOpenedBy(); if (!GetIsPC(oPC)) return; if (!(GetHitDice(oPC) >= 7)) { oDeny = GetWaypointByTag("WP_Lowlevels"); AssignCommand(oPC, JumpToObject(oDeny)); return; } AssignCommand(oPC, ClearAllActions()); object oTarget; oTarget = GetWaypointByTag("WP_Outsidecitygates"); AssignCommand(oPC, ActionJumpToObject(oTarget)); }