Game Development Reference
12. Our final step is to connect all of the nodes appropriately. In total, it should look
Level Loaded | Loaded and Visible is connected to Actor Factory | Spawn Actor
PathNode is connected to Actor Factory | Spawn Point
??? is connected to Actor Factory | Spawned
Death | Out is connected to Actor Factory | Spawn Actor
Death | Instigator is connected to ???
Attach To Event | Event is connected to Death
Actor Factory | Finished is connected to Attach To Event | In
??? is connected to Attach To Event | Attachee
13. Rebuild the map, and press PIE or Play | In Editor to play in the editor. You should
now see another pawn on the map! Shoot it a bit to destroy it, and watch as it spawns
back to life at the same node.
Be sure to change View | World Properties | Game Type so that it
uses our TutorialGame.
Perform these same tasks in your map using NavMashes as well,
otherwise your new AI pawn won't spawn.