Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this example, the Peasant will run to a point, then upon arrival, play one of three random animations. Most of the nodes up to the Random Switch were covered in the previous example, so I will be jumping ahead to the NPC Play Anim actions in the breakdown.

Image Added


NPC Play Anim is an action that will allow you to drive the animations on an NPC bot using any of the game's animations. The properties window will reveal a multitude of options. 

...

All Peasants dying completes the Kill Objective:

The final step of this objective is to keep track of how many Peasants have been killed. I will also go over some ways to indicate this to the player, which will be useful for other objectives.

 

To track how many Peasants have been killed, we will use some simple Kismet math.