GameClose

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
Thewreck (Talk | contribs)
(Created page with '{{EngineHook| gameClose | This hook is called when the game is closed, either by Alt+f4 (Windows), Cmd+Q (Mac), or by the function daisy.exitGame | {{NoParams}} }} === Exampl...')

Latest revision as of 12:54, 19 January 2010

gameClose

This hook is called when the game is closed, either by Alt+f4 (Windows), Cmd+Q (Mac), or by the function daisy.exitGame

Parameter Type Description
No parameters
Daisymoon Video Lib

Example

  local function myGameIsClosing()
    --do some cleanup
  end

  hook.add("gameClose", myGameIsClosing)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox