generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
10
_module/nss/autoclose.nss
Normal file
10
_module/nss/autoclose.nss
Normal file
@@ -0,0 +1,10 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastOpenedBy();
|
||||
object oArea = GetArea(OBJECT_SELF);
|
||||
if (GetIsPC(oPC))
|
||||
{MusicBackgroundStop(oArea);}
|
||||
|
||||
DelayCommand(6.0f, ActionCloseDoor(OBJECT_SELF));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user