How to Add to a Custom Level
This page covers how to use the features of Procedural NPC Crowds in Blueprints.
How to add to your custom level:
To add crowds to your level, follow these steps:
Find the Necessary Content folder in the demo content for the plugin.
Once in the Necessary Content folder, go to the Path folder and drag the
BP_SwarmPathinto your level.Use ALT+drag to add spline points. if they are purple and cannot move, see Common Troubleshooting.
Drag as many spline points as you need around your level, You can use multiple splines.
Add a navmesh to your level and expand its size to fit. you can click "P" on your keyboard to visualize it.
Find the Manager folder in the necessary content and drag a single instance of the
BP_NPCZombie_Managerto your level.Next go to your player character and add these two components,
AC_SwarmLoader_SetterandAC_SwarmTarget.Thats it, you should now have zombies moving around in your level when you play and chasing you if you get close. Next we will go over adding more swarm targets.
Note: This does not work in simulate when the player character is not valid.
Last updated