User Tools

Site Tools


This is an old revision of the document!

Table of Contents

App (Module)

Module that wraps the native App class. Derived classes like ClientApp may also augment the module with their variables and functions.


gamePlugin ( )

Returns the identifier of the currently loaded game plugin. The return value is text, for instance for libdoom:




An array of functions that will be called whenever the game changes. Note that this is also called when the game is unloaded. The identity key of the loaded game mode is provided as an argument to the functions.

def gameHasChanged(newGame)
    print "Game is now:", newGame
App.audienceForGameChange += [gameHasChanged]
script/module/app.1574003538.txt.gz · Last modified: 2019-11-17 17:12 by skyjake