Remade Dungeon Level One: Central
Remade Dungeon Level One: Central. Added Didiamus' creature overrides. Full compile.
This commit is contained in:
18
_module/nss/floodtraplever.nss
Normal file
18
_module/nss/floodtraplever.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
/* 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);
|
||||
}
|
Reference in New Issue
Block a user