Common UnrealScript classes
Our final topic for this chapter will be a long one. We're going to go through the most commonly used classes in UnrealScript and take a look at how we can change them for our game. We'll expand their functionality and see if we can get something resembling our Awesome Game's design document. First up, let's take a look at the GameInfo class.
The GameInfo
The GameInfo class handles all of the rules for our game. It logs people in and out, tells the game when to start, keeps track of the time limit and score and decides when the game is over and who won. It also handles a few default properties like the PlayerController
and HUD class the game uses.
Let's expand ours to see if we can make a game we can win.