Procedural Dungeon ⏵ Room ⏵ Get Relevancy Level
Get Relevancy Level
Class: Room
Category: Room
Description
Get the relevancy level for the specified player.
A relevancy level < 0 means the room is not relevant for the player.
A relevancy level of 0 means the player is inside the room.
A relevancy level > 0 means the player is outside the room, the higher the level, the further away the room is.
Node

C++
int32 GetRelevancyLevel(APlayerController* PlayerController) const
Inputs
| Name | Type | Description |
|---|---|---|
| Target | Room Object Reference | |
| Player Controller | Player Controller Object Reference |
Outputs
| Name | Type | Description |
|---|---|---|
| Return Value | Integer | Get the relevancy level for the specified player. A relevancy level < 0 means the room is not relevant for the player. A relevancy level of 0 means the player is inside the room. A relevancy level > 0 means the player is outside the room, the higher the level, the further away the room is. |