Changed folder name.
Changed folder name.
This commit is contained in:
17
_module/nss/securedoorscript.nss
Normal file
17
_module/nss/securedoorscript.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//Put this script OnClick or OnFailToOpen
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetClickingObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
DelayCommand(10.0, SetLocked(OBJECT_SELF, FALSE));
|
||||
|
||||
DelayCommand(11.0, ActionOpenDoor(OBJECT_SELF));
|
||||
|
||||
DelayCommand(40.0, ActionCloseDoor(OBJECT_SELF));
|
||||
|
||||
DelayCommand(41.0, SetLocked(OBJECT_SELF, TRUE));
|
||||
|
||||
}
|
Reference in New Issue
Block a user