GameInit

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
Thewreck (Talk | contribs)
(Created page with '{{EngineHook| gameInit | This hook is called when the game is started. | {{NoParams}} }} === Example === <pre> local function myGameHasStarted() --initialize stuff! end ...')

Latest revision as of 20:12, 19 January 2010

gameInit

This hook is called when the game is started.

Parameter Type Description
No parameters
Daisymoon Video Lib

Example

  local function myGameHasStarted()
    --initialize stuff!
  end

  hook.add("gameInit", myGameHasStarted)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox