Changed folder name.
Changed folder name.
This commit is contained in:
13
_module/nss/close_n_lock.nss
Normal file
13
_module/nss/close_n_lock.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
//Put this script OnOpen
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastOpenedBy();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
DelayCommand(15.0, ActionCloseDoor(OBJECT_SELF));
|
||||
|
||||
DelayCommand(15.0, SetLocked(OBJECT_SELF, TRUE));
|
||||
|
||||
}
|
Reference in New Issue
Block a user