Changed folder name.
Changed folder name.
This commit is contained in:
29
_module/nss/bathleveruse.nss
Normal file
29
_module/nss/bathleveruse.nss
Normal file
@@ -0,0 +1,29 @@
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Rich Dersheimer
|
||||
//:: Created On: July 5, 2002
|
||||
//:://////////////////////////////////////////////
|
||||
#include "nw_i0_tool"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oDoor3 = GetObjectByTag("bathdoor3");
|
||||
object oDoor2 = GetObjectByTag("bathdoor2");
|
||||
object oDoor1 = GetObjectByTag("bathdoor1");// assign oDoor the stuck door
|
||||
object oPC = GetLastUsedBy(); // assign oPC to the player who pulls the lever
|
||||
|
||||
//does the party have some oil?
|
||||
|
||||
|
||||
ActionPlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE); // move the lever
|
||||
PlaySound("as_sw_lever1");
|
||||
ActionPlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
|
||||
SetLocked(oDoor1,FALSE);
|
||||
AssignCommand (oDoor1,ActionOpenDoor(oDoor1));
|
||||
SetLocked(oDoor2,FALSE);
|
||||
AssignCommand (oDoor2,ActionOpenDoor(oDoor2));
|
||||
SetLocked(oDoor3,FALSE);
|
||||
AssignCommand (oDoor3,ActionOpenDoor(oDoor3));
|
||||
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user