Door

Parent

The base class of all doors.

Functions

getConfiguration () → configuration : Int

Returns the Door Mode/Configuration. 0 = Automatic 1 = Always Closed 2 = Always Open

Details

Flags

RuntimeSync RuntimeParallel MemberFunc

Display Name

Get Configuration

Return Values
Name Type Description

Configuration configuration

Int

The current door mode/configuration.

setConfiguration (configuration : Int)

Sets the Door Mode/Configuration, only some modes are allowed, if the mod you try to set is invalid, nothing changes. 0 = Automatic 1 = Always Closed 2 = Always Open

Details

Flags

RuntimeSync MemberFunc

Display Name

Set Configuration

Parameters
Name Type Description

Configuration configuration

Int

The new configuration for the door.