Time for action – The cleanup job
We've made a bit of a mess in our map file again, so let's clean it up in preparation for this section of the chapter.
Open AwesomeTestMap in the editor.
We'll be starting fresh with our Kismet, so open the Kismet editor and delete all of it.
In the level, delete all of the Trigger actors and AwesomeWeaponUpgrades but leave the weapon spawner, enemy spawners, and player start.
What just happened?
Now we're ready to start working with Kismet events.
Creating and triggering a Kismet event
For our game there are a few things we might want to know about in Kismet. One thing that comes to mind is when all of the enemies have been killed. We could use this event to do certain things in Kismet, for example, if we wanted to spawn a weapon upgrade as a reward for the player before the boss showed up. Let's see if we can do it!