Saints Row 2 Function Reference

Global functions

These functions are assumed to be globally available to all scripts since they aren't defined in the patch lua files.

This list is incomplete; additional functions could exist in the exe but not be used in the game lua, and some lua files may always be loaded (system_lib.lua?) making their functions essentially global.

Function name Global Defined in Examples from patch (click blue number to expand)
effect_play true
    115
    effect_stop true
      99
      error true
        4
        event_tracking_interface_enter true
          22
          event_tracking_interface_exit true
            4
            event_tracking_interface_tab_change_string true
              6
              explosion_create true
                37