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)
radio_block true
    1
    radio_get_station true
      2
      radio_post_event true
        25
        radio_reset_station true
          1
          radio_set_sing_along true
            2
            radio_set_station true
              7
              radio_station_disable true
                1
                radio_station_preview true
                  4
                  release_to_world true
                    354
                    render_script_trigger_on_minimap_add true
                      3
                      render_script_trigger_on_minimap_remove true
                        5
                        roadblocks_enable true
                          8