void main() { DelayCommand(10.0,ActionCloseDoor(OBJECT_SELF)); DelayCommand(12.0,ActionLockObject(OBJECT_SELF)); }