Skip to main content
Version: 3.7

Procedural DungeonRoom ⏵ 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

NameTypeDescription
TargetRoom Object Reference
Player ControllerPlayer Controller Object Reference

Outputs

NameTypeDescription
Return ValueIntegerGet 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.