UnrealScript Game Programming Cookbook

(Chris Devlin) #1
Chapter 5

125

{
super.PostBeginPlay();
'Log("TutBot up");
}

That's all we're going to add to the pawn right now. It has plenty of functionality from
the UDKBot class, so we're going to leave it alone for now. Right now our focus is on
getting this pawn to spawn within our map.


  1. Open up the map you made with the PathNodes. We're going to use Kismet for the
    first time to create a spawn point for our custom bot.

  2. Open Kismet by selecting the Kismet icon within the UDK editor.

  3. When the Kismet dialog box appears, right-click anywhere in the blank space and
    you'll notice that the submenus appear. Scroll over to New Event | Level Loaded,
    and left-click to create a new Level Loaded node.

Free download pdf