Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
16
_module/nss/ty_labdoorclose.nss
Normal file
16
_module/nss/ty_labdoorclose.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
void main()
|
||||
{
|
||||
object oDoor = GetObjectByTag("ty_labyrinthdoor");
|
||||
object oSwitcha1 = GetObjectByTag("a1_leverswitch");
|
||||
object oSwitcha2 = GetObjectByTag("a2_leverswitch");
|
||||
object oSwitcha3 = GetObjectByTag("a3_leverswitch");
|
||||
object oSwitcha4 = GetObjectByTag("a4_leverswitch");
|
||||
|
||||
SetLocalInt(oSwitcha1, "a1leverused", 0);
|
||||
SetLocalInt(oSwitcha2, "a1leverused", 0);
|
||||
SetLocalInt(oSwitcha3, "a1leverused", 0);
|
||||
SetLocalInt(oSwitcha4, "a1leverused", 0);
|
||||
DelayCommand(20.0, ActionCloseDoor(oDoor));
|
||||
DelayCommand(20.0, ActionLockObject(oDoor));
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user