Procedural Dungeon ⏵ Room ⏵ Lock
Lock
Category: Room
Description
Lock or unlock the room instance.
Will lock/unlock the doors too (except if they have Alway Unlocked).
Node
C++
void Lock(bool lock)
Inputs
| Name | Type | Description |
|---|---|---|
| In | Exec | |
| Target | Room Object Reference | |
| Lock | Boolean | Should the room be locked? |
Outputs
| Name | Type | Description |
|---|---|---|
| Out | Exec |