-
-
Notifications
You must be signed in to change notification settings - Fork 62
Room Visitor
The Room Visitor
interface is useful to add behaviors to your actors or components when they enters or exit a room.
You can use this interface to keep track of the rooms the actor is in to be able to call functions on them, change some [[Room Custom Data
|Room Custom Data]] variables, display various details on player's HUD, etc.
For example, the [[Room Visibility Component
|Occlusion Culling]] (used to show/hide an actor with the rooms it is in) is implementing the Room Visitor
interface to bind/unbind to the room's visibility event dispatcher when the actor enters or exits any room, and thus can change its visibility according to the room visibility state.
Just add the interface like any other interface in Blueprint or C++, and implement its functions.
For example, this is a simple implementation in Blueprint to keep a reference of the rooms an actor is in (stored in an array called Cached Room Array
).
You can join the Discord server dedicated to this plugin if you want to share, help or ask questions about it.
Installation
Getting Started
Room Architecture
Door
Plugin Settings
Packaging
Dungeon Generator
Choose First Room Data
Choose Next Room Data
Continue To Add Room
Is Valid Dungeon
Occlusion Culling
Door Types
Room Initialization
Room Custom Data
Room Visitor
Room Observer
Console Commands
Multiplayer
Navigation Mesh
Geometry Brushes
If you like my plugin, please consider tipping: