GameClose

From OxeyeWiki

Revision as of 12:54, 19 January 2010 by Thewreck (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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