generated from Jaysyn/ModuleTemplate
25 lines
739 B
Plaintext
25 lines
739 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Name ReClose an Open Door and lock it
|
|
//:: FileName door_closlock_oo
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
Placed in the OnOpen event handler of any door that
|
|
opens, this script will automatically close the door
|
|
after 15 seconds of being open. It is meant to
|
|
keep the doors in a PW from remaining open indefinitely.
|
|
|
|
This variation is meant for doors that are locked.
|
|
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: PsychicToaster
|
|
//:: Created On: 7-21-04
|
|
//:://////////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
DelayCommand(35.0, ActionCloseDoor(OBJECT_SELF));
|
|
SetLocked(OBJECT_SELF,TRUE);
|
|
}
|