generated from Jaysyn/ModuleTemplate
11 lines
328 B
Plaintext
11 lines
328 B
Plaintext
// Script: sc_doorcloseself
|
|
// Function: To have a door close by itself
|
|
// Author: Nathan Laing
|
|
// E-Mail: nazz@bigpond.com
|
|
|
|
void main()
|
|
{
|
|
DelayCommand(8.0, ActionCloseDoor(OBJECT_SELF)); // Close the door 8 seconds after opening
|
|
// DelayCommand(8.0, ActionDoCommand (SetLocked (OBJECT_SELF, TRUE))); // Lock the door
|
|
}
|