Internal gamemode workings

From GMod Wiki

Revision as of 13:40, 11 July 2006 by Garry (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Lua: Internal Gamemode Workings
Page white text.png Description:Hopes to explain the internal workings of the gamemode system.
link=User:Garry Original Author:Garry
Calendar.png Created:11th July 2006

Gamemodes are Loaded and Set.

Load Gamemode

The load gamemode process loads and stores the gamemode onto a table. E indicates the process is made in the engine using C++, L indicates Lua.

Set Gamemode

Set Gamemode is called to actually set the gamemode (duh?)

Regular Operation

The gamemode is now set. The gamemode system will now be called at specific points in the engine to make particular decisions (Such as when a player spawns, is killed etc). This is how this is handled.

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox