Death comes in many forms, and sometimes it's necessary to count them. In this recipe we'll keep track of how many times an enemy Bot that keeps re-spawning in the level is killed by the player. When the total is 10, we'll reward the player. The Bot spawning sequence is already set up and should be familiar from the recipe Creating a simple enemy Bot, back at the start of this chapter.
In Kismet, in the main sequence press Ctrl + 1. This sets 1 as a bookmark you can return to. The bookmarks only work in the current UDK session, which is a limitation but they are still handy.
Examine the Sub-Sequence Enemies and in there press Ctrl + 2. This sets the hotkey 2 as a bookmark for the Enemies sequence. The Sub-Sequence Enemies spawns a Bot but this is respawned after the previous one dies. This is a loop.
In the Sequences window, click on the Sub-Sequence EndSequence. Press Ctrl...