void main() { DelayCommand(4500.0,ActionCloseDoor(OBJECT_SELF)); DelayCommand(4500.1,ActionLockObject(OBJECT_SELF)); }