This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
addon:thutconcrete:elevator [2014/07/25 14:40] vexatos [Component: Elevator] |
addon:thutconcrete:elevator [2015/01/14 23:40] (current) |
||
---|---|---|---|
Line 9: | Line 9: | ||
Tries to call the elevator to a certain floor. Returns `true` on success, `false` and an error message otherwise. | Tries to call the elevator to a certain floor. Returns `true` on success, `false` and an error message otherwise. | ||
- `isReady():boolean` | - `isReady():boolean` | ||
- | Returns `true` if the elevator can be called, `false` if it can not (because it is still moving). | + | Returns `true` if the elevator can be called, `false` if it can not (because it is already moving). |
- `getLocalFloor():number` | - `getLocalFloor():number` | ||
Returns the number of the floor the currently accessed Elevator Control is set to. | Returns the number of the floor the currently accessed Elevator Control is set to. |