This component can be accessed by connecting an Elevator Control to a Computer.
Component name: elevator
.
Callbacks:
call(floor:number):boolean
true
on success, false
and an error message otherwise.isReady():boolean
true
if the elevator can be called, false
if it can not (because it is already moving).getLocalFloor():number
getElevatorFloor():number
doesFloorExist(floor:number):boolean
true
if the floor exists and thus can be called; the function returns false
if the floor does not exist.Thut's Concrete | |
---|---|
Components | Elevator |