GameInit
From OxeyeWiki
(Difference between revisions)
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 ...')
(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)