Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
//Script Name: door_lock_night
//////////////////////////////////////////
//Created By: Genisys (Guile)
//Created On: 8/19/08
/////////////////////////////////////////
/*
This automatically locks a door after
5 seconds, if it's nighttime, after it's
unlocked, this is used seperately with
the day / night door because it has to
to check the day/night time..
*/
////////////////////////////////////////
void main()
{
object oMe = OBJECT_SELF;
//Only if it's night-time!
if(GetIsNight())
{
//Quickly close and lock the door, so they can't enter!
DelayCommand(0.1, SetLocked(oMe, TRUE));
DelayCommand(0.2, ActionCloseDoor(oMe));
}
//Otherwise just close the door after 15 seconds..
else
{
DelayCommand(15.1, ActionCloseDoor(oMe));
}
}