Chapter 4. Game Rules
Actors and entities are integral parts of the game, but game rules are what tie them together. The game rules system manages all initial player events, such as OnConnect, OnDisconnect, and OnEnteredGame.
Using the game rules system, we can create custom game flow to control and tie our gameplay mechanics together.
In this chapter we will:
- Learn the basic concept of a game mode
- Create our
IGameRules
implementation in C++ - Write game rules scripts in Lua and C#