Procedural Dungeon ⏵ Room
Room
Class Details
Defined in: Public/Room.h
Hierarchy: Object → Replicable Object → Room
Implements: Read Only Room
Exposed in blueprint as: Variable Type
Description
The room instances of the dungeon.
Holds data specific to each room instance, e.g. location, direction, is player inside, room custom data, etc.
Nodes
Name | Category | Description |
---|---|---|
Force Visibility | Room | Force the room to be veisible |
Get All Connected Rooms | Room | Returns all the room instances connected with this one. |
Get All Doors | Room | Fill an array with all the door actors connected to the room. |
Get Connected Room At | Room | Returns the connected room instance at DoorIndex. |
Get Connected Room Index | Room | Returns the index of the provided room, or -1 if room is not connected. |
Get Custom Data | Room | Access to custom data of the room. |
Get Door | Room | Get the door actor from a specific index. |
Get Doors With | Room | Returns the door actor shared with the provided room. Returns null if the provided room is not connected with this. |
Get Random Stream | Room | Returns the RandomStream from the Dungeon Generator |
Has Custom Data | Room | Check if the room instance contains a custom data of a specific type. |
Is Door Connected | Room | Returns true if the door at DoorIndex is connected to another room. |
Is Locked | Room | Is the room locked? If it is, the doors will be locked (except if they have Alway Unlocked ). |
Is Player Inside | Room | Is the player currently inside the room? A player can be in multiple rooms at once, for example when he stands at the door frame, the player's capsule is in both rooms. |
Is Visible | Room | Is the room currently visible? |
Lock | Room | Lock or unlock the room instance. Will lock/unlock the doors too (except if they have Alway Unlocked ). |