Initial upload
Initial upload
This commit is contained in:
16
_module/nss/lockdoorspec1.nss
Normal file
16
_module/nss/lockdoorspec1.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//Put this script OnOpen
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastOpenedBy();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
object oTarget;
|
||||
oTarget = GetObjectByTag("towerdoo3");
|
||||
|
||||
DelayCommand(3.0, AssignCommand(oTarget, ActionCloseDoor(oTarget)));
|
||||
|
||||
DelayCommand(3.0, SetLocked(oTarget, TRUE));
|
||||
|
||||
}
|
Reference in New Issue
Block a user