-
-
Notifications
You must be signed in to change notification settings - Fork 76
Choose Door
This function let you choose a door actor to spawn between 2 rooms.
If you don't want a door between the rooms you just have to return none
.
You should use the Door Type
input to return a door of the correct type if you use multiple door types in your project.
You can check the door type of a door actor class with the function Is Door Of Type
.
You can use the Flipped
output to control which room the door faces.
If false (default) the door forward will face the Current Room
.
If true, the door forward will face the Next Room
.
One of the room class input can be null if there is no room connected to it. You certainly want to set an always closed door, or a door actor that act as a "wall".
An example to spawn a simple door if both rooms are valid, or a wall if one of them is not valid (assuming there is only one door type):
The next step is to actually generate the dungeon by calling the Generate function.
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: