/* Script generated by Lilac Soul's NWN Script Generator, v. 2.0 For download info, please visit: http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */ //Put this OnUsed void main() { object oPC = GetLastUsedBy(); if (!GetIsPC(oPC)) return; if(GetLocalInt(oPC,"Freed")==1) return; object oTarget = GetObjectByTag("RustedDoor"); SetLocked(oTarget, FALSE); AssignCommand(oTarget, ActionOpenDoor(oTarget)); FloatingTextStringOnCreature("You distinctly hear the sound of a door unlocking and opening behind you!!!", oPC); SetLocalInt(oPC,"Freed",1); }