7 lines
205 B
Plaintext
7 lines
205 B
Plaintext
|
// only use this one for locked doors
|
||
|
void main()
|
||
|
{
|
||
|
DelayCommand(15.0,ActionCloseDoor(OBJECT_SELF));
|
||
|
if (GetLockKeyRequired(OBJECT_SELF) == TRUE) DelayCommand(16.0,SetLocked(OBJECT_SELF, TRUE));
|
||
|
}
|