UnrealScript Game Programming Cookbook

(Chris Devlin) #1
Chapter 5

127


  1. We now need to attach an event for our Actor Factory using Kismet. Again, right-click
    on a blank space on the canvas and select New Action | Event | Attach to Event.

  2. The event we are going to be connecting to this is the AI pawn's death. Should the AI
    pawn die, we'd like for it to respawn. Therefore, we need to create the event of the
    actual pawn dying. In the canvas, right-click and select New Event | Pawn | Death.

Free download pdf