Load control system (currently being edited)

How to install.

  • Select “Open Level Blueprint”.
  • Select the class settings in the Level Blueprint window.
  • Switch Level Script Actor to Dungeon Level Script Actor in Class Options > Parent Class.

LevelScript class

  • Compile.
  • Choose a default for the level blueprint window class.
    • Partiation Size !

LevelScript parameter

  • Open the blueprint of the actor you want to include in the load control target. Component activator

  • Add DungeonComponentActivator to the component.

    • Enable Owner Actor Tick Control.
    • Enable Owner Actor Ai Control.
    • Enable Component Activation Control.
    • Enable Component Visibility Control.
    • Enable Collision Enable Control * Enable Collision Enable Control.
  • Component activation, etc. is controlled when an actor enters or exits an active partition.

Principle of operation

Dungeon partitions and actor active range

graph TD

DungeonLevelScript --> DungeonPartition
DungeonPartition --> DungeonComponentActivator
DungeonComponentActivator --> Actor[Owner Actor].
Actor --> Component

````
The white grid is the partition.

! [DungeonWorld](. /images/DungeonWorld.jpg)