Procedural Dungeon ⏵ Room ⏵ Get Door
Get Door
Category: Room
Description
Get the door actor from a specific index.
Node

C++
ADoor* GetDoor(int32 DoorIndex) const
Inputs
| Name | Type | Description |
|---|---|---|
| Target | Room Object Reference | |
| Door Index | Integer | The index of the door to retrieve. |
Outputs
| Name | Type | Description |
|---|---|---|
| Return Value | Door Object Reference | The door actor at the index, or null if the index is out of range. |