Choosing a spawn point where enemies will appear

First, we must decide where in the Level our enemies will spawn from. We will spawn enemies in random spots within a circular distance from an object placed in the Level. Return to the Level Editor by clicking on the FirstPersonExampleMap tab. Find the PatrolPoint1 object in the World Outliner panel. Duplicate the object by right-clicking on it, selecting Edit, and then selecting Duplicate. Rename the new object as SpawnPoint. Move the SpawnPoint object close to the center of your Level, ensuring that it is located a bit off the ground in a player- and enemy-accessible area.

We will place the Blueprint nodes that will create new enemies inside Level Blueprint. A Level Blueprint is a special Blueprint that is tied to the entire level, serving as a global Event Graph. Level Blueprints are especially well suited for setting up Level-specific items, such as enemy placements and door behavior. To edit the Level Blueprint, click on the Blueprints button in the Level Editor toolbar and select the Open Level Blueprint option.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset