Saints Row: The Third 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)
radio_block true
    18
    radio_clear_sing_along_track true
      1
      radio_get_station true
        2
        radio_global_block true
          6
          radio_newsbreak true
            5
            radio_newsbreak_clear true
              1
              radio_set_sing_along_allowed_during_missions true
                2
                radio_set_sing_along_track true
                  1
                  • m04.lua, line 1015: radio_set_sing_along_track("MIX_Sublime___What_I_Got", "M04_SINGALONG_WM_PLAYER")
                  radio_set_station true
                    3
                    radio_unblock true
                      1
                      rappel_enter true
                        2
                        • _a_ga_dt_03.lua, line 648: rappel_enter(REMOTE_PLAYER, true, _A_GA_DT_03_navs.remote_rappel_point, _A_GA_DT_03_tweak_params.sniper_weapon_slot)
                        • _a_ga_dt_03.lua, line 654: rappel_enter(LOCAL_PLAYER, true, _A_GA_DT_03_navs.local_rappel_point, _A_GA_DT_03_tweak_params.sniper_weapon_slot)
                        rappel_exit true
                          2
                          rc_set_max_signal_range true
                            2
                            refraction_situation_clear true
                              6
                              refraction_situation_set true
                                11
                                release_to_world true
                                  125
                                  remove_tween_end_callback true
                                    3
                                    reticle_override_clear true
                                      7
                                      reticle_override_set true
                                        4
                                        • m14.lua, line 2539: reticle_override_set(HUD_FAKE_RETICLE_WEAPON_NAME, HUD_FAKE_RETICLE_WEAPON_CATEGORY_NAME, SYNC_REMOTE)
                                        • m14.lua, line 2541: reticle_override_set(HUD_FAKE_RETICLE_WEAPON_NAME, HUD_FAKE_RETICLE_WEAPON_CATEGORY_NAME, SYNC_LOCAL)
                                        • m14.lua, line 2548: reticle_override_set(HUD_FAKE_RETICLE_WEAPON_NAME, HUD_FAKE_RETICLE_WEAPON_CATEGORY_NAME, SYNC_LOCAL)
                                        • m14.lua, line 2552: reticle_override_set(HUD_FAKE_RETICLE_WEAPON_NAME, HUD_FAKE_RETICLE_WEAPON_CATEGORY_NAME, SYNC_REMOTE)
                                        Reward_granted_end_cb true
                                          1
                                          roadblocks_ambient_traffic_enable true
                                            2
                                            roadblocks_enable true
                                              12
                                              roadblock_create true
                                                1
                                                • m22.lua, line 3390: roadblock.handle = roadblock_create(roadblock.layout, roadblock.navpoint)
                                                roadblock_destroy true
                                                  1
                                                  round true
                                                    1