Procedural Dungeon ⏵ Dungeon Blueprint Library ⏵ Get Owning Room
Get Owning Room
Class: Dungeon Blueprint Library
Category: Utilities → Procedural Dungeon
Description
Returns the room instance the actor is in.
If the actor is spawned at runtime or the owning level is not a room level, returns null.
Node
C++
URoom* GetOwningRoom(const AActor* Target)
Inputs
Name | Type | Description |
---|---|---|
Target | Actor Object Reference |
Outputs
Name | Type | Description |
---|---|---|
Return Value | Room Object Reference | Returns the room instance the actor is in. If the actor is spawned at runtime or the owning level is not a room level, returns null. |