PoA_PRC8/_module/nss/motherlever.nss

18 lines
440 B
Plaintext
Raw Permalink Normal View History

2022-10-07 14:20:31 -04:00
void main()
{
object oDoor = GetObjectByTag("motherdoor1"); // assign oDoor the stuck door
object oPC = GetPCSpeaker(); // assign oPC to the player who pulls the lever
object oDoor2 = GetObjectByTag("motherdoor2");
// move the lever
PlaySound("as_sw_lever1");
SetLocked(oDoor,FALSE);
AssignCommand (oDoor,ActionOpenDoor(oDoor));
SetLocked(oDoor2,FALSE);
AssignCommand (oDoor2,ActionOpenDoor(oDoor2));
}