Devices
Devices: doors, lifts, switches and machines, driven by position and power from 0 to 1.
- Functions
- 19
- Work in this build
- 19
- Compiled out
- 0
19 names
- device_animate_overlay
- device_animate_position
- device_closes_automatically_set
- device_get_position
- device_get_power
- device_group_change_only_once_more_set
- device_group_get
- device_group_set
- device_group_set_immediate
- device_ignore_player_set
- device_one_sided_set
- device_operates_automatically_set
- device_set_never_appears_locked
- device_set_overlay_track
- device_set_position
- device_set_position_immediate
- device_set_position_track
- device_set_position_transition_time
- device_set_power
device_animate_overlay
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_animate_overlay <device> <real> <real> <real> <real>) | void | 332 |
console: device_animate_overlay <device> <real> <real> <real> <real>
Called 3 times by the shipped campaign scripts, with 5 arguments.
device_animate_position
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_animate_position <device> <real> <real> <real> <real> <boolean>) | void | 331 |
console: device_animate_position <device> <real> <real> <real> <real> <boolean>
Called 3 times by the shipped campaign scripts, with 6 arguments.
device_closes_automatically_set
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_closes_automatically_set <device> <boolean>) | void | 327 |
console: device_closes_automatically_set <device> <boolean>
Called 3 times by the shipped campaign scripts, with 2 arguments.
device_get_position
→ realA device's position from 0 (closed) to 1 (open).
| Signature | Returns | Slot |
|---|---|---|
| (device_get_position <device>) | real | 319 |
console: device_get_position <device>
Called 408 times by the shipped campaign scripts, with 1 argument.
device_get_power
→ realA device's power from 0 to 1.
| Signature | Returns | Slot |
|---|---|---|
| (device_get_power <device>) | real | 317 |
console: device_get_power <device>
Called 5 times by the shipped campaign scripts, with 1 argument.
device_group_change_only_once_more_set
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_group_change_only_once_more_set <device_group> <boolean>) | void | 328 |
console: device_group_change_only_once_more_set <device_group> <boolean>
Called 1 time by the shipped campaign scripts, with 2 arguments.
device_group_get
→ realNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_group_get <device_group>) | real | 321 |
console: device_group_get <device_group>
Called 51 times by the shipped campaign scripts, with 1 argument.
device_group_set
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_group_set <device> <device_group> <real>) | boolean | 322 |
console: device_group_set <device> <device_group> <real>
Called 20 times by the shipped campaign scripts, with 3 arguments.
device_group_set_immediate
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_group_set_immediate <device_group> <real>) | void | 323 |
console: device_group_set_immediate <device_group> <real>
Called 11 times by the shipped campaign scripts, with 2 arguments.
device_ignore_player_set
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_ignore_player_set <device> <boolean>) | void | 325 |
console: device_ignore_player_set <device> <boolean>
Called 7 times by the shipped campaign scripts, with 2 arguments.
device_one_sided_set
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_one_sided_set <device> <boolean>) | void | 324 |
console: device_one_sided_set <device> <boolean>
Called 32 times by the shipped campaign scripts, with 2 arguments.
device_operates_automatically_set
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_operates_automatically_set <device> <boolean>) | void | 326 |
console: device_operates_automatically_set <device> <boolean>
Called 8 times by the shipped campaign scripts, with 2 arguments.
device_set_never_appears_locked
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_set_never_appears_locked <device> <boolean>) | void | 314 |
console: device_set_never_appears_locked <device> <boolean>
device_set_overlay_track
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_set_overlay_track <device> <string_id>) | boolean | 330 |
console: device_set_overlay_track <device> <string_id>
Called 3 times by the shipped campaign scripts, with 2 arguments.
device_set_position
→ booleanMoves a device to a position from 0 (closed) to 1 (open).
| Signature | Returns | Slot |
|---|---|---|
| (device_set_position <device> <real>) | boolean | 318 |
console: device_set_position <device> <real>
Called 205 times by the shipped campaign scripts, with 2 arguments.
device_set_position_immediate
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_set_position_immediate <device> <real>) | void | 320 |
console: device_set_position_immediate <device> <real>
Called 281 times by the shipped campaign scripts, with 2 arguments.
device_set_position_track
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_set_position_track <device> <string_id> <real>) | boolean | 329 |
console: device_set_position_track <device> <string_id> <real>
Called 3 times by the shipped campaign scripts, with 3 arguments.
device_set_position_transition_time
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (device_set_position_transition_time <device> <real>) | void | 316 |
console: device_set_position_transition_time <device> <real>
Called 6 times by the shipped campaign scripts, with 2 arguments.
device_set_power
Sets a device's power from 0 to 1; an unpowered device does not move.
| Signature | Returns | Slot |
|---|---|---|
| (device_set_power <device> <real>) | void | 315 |
console: device_set_power <device> <real>
Called 265 times by the shipped campaign scripts, with 2 arguments.
Read from the function table in the shipped simulation DLL. A name is compiled out when every one of its slots points at the release build's shared stub evaluator; the console still accepts it and returns nothing. Descriptions are hand-written and incomplete; the engine's own help text does not survive in this build. See The Blam console for how the table was found and how the mod runs these.