O'Reilly logo

Getting Started with UDK by John P. Doran

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Multiple towers made easy – prefabs

Now we have created one tower, and it is a finished tower. However, we want to have many places where the player can activate towers. We can do this simply enough by making use of prefabricated objects, better known as prefabs.

Engage thrusters

The first thing that we will need to do is actually create the towers. Let's do this by performing the following steps:

  1. In Kismet, do a marquee selection around all of the code we created in the previous section. Once selected, right-click and select Create New Sequence. In the dialog that pops up, put in the name TowerBehavior.
    Engage thrusters

    You'll notice that all of the Kismet diagrams ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required