Saints Row 2 Function Reference

Global functions

These functions are assumed to be globally available to all scripts (they aren't defined in the available Lua files, or are defined in files that are known to be always loaded).

This list is assumed incomplete; additional functions could exist in the exe but not be used in the game scripts, and there's no definitive list of Lua files that are always loaded.

Function name Global Defined in Examples from patch (click blue number to expand)
_CatchNilAssignment true 1
    _CatchUndefinedGlobalWrite true 1
      _DynamicGlobalsLoadComplete true 1
        _GetAnyGlobalSilent true 1
          _GetDynamicGlobal true 1
            _PrepareForDynamicGlobals true 1
              _UnloadDynamicGlobals true 1
                ____ true
                  1