FutureProg functions
setlocked
setlocked overload 1
Boolean setlocked(Item lock, Boolean locked, Boolean echo)
Available in
- computer function
- computer program
- standard futureprog
Changes a lock or lockable item from locked to unlocked if specified. True if the change was successfully applied.
| Parameter | Type | Description |
|---|---|---|
lock |
Item |
The item to be locked or unlocked |
locked |
Boolean |
If true, set to locked. If false, set to unlocked |
echo |
Boolean |
Whether to echo the change in state |