Saints Row: The Third Function Reference

Local functions

These functions are defined in Lua files that aren't always loaded. They're probably only available in the file that defined them or by including that file in another script.

Function name Global Defined in Examples from patch (click blue number to expand)
has_second_option false 1 2
  • dialog.lua, line 157: if game_get_platform() == "PC" and game_is_active_input_gamepad() == false and Dialog_objects[Dialog_current_idx]:has_second_option(selected_option_idx) == true then
  • dialog.lua, line 594: if Dialog_objects[Dialog_current_idx]:has_second_option(selected_option_idx) == true then
hide false 1 2
hide_arrows false 1 2
hide_value_slider false 1 3
highlight_left_arrow false 1 2
highlight_option false 1 4
highlight_right_arrow false 1 2
highlight_set_button false 1 8
highlight_show false 1 5
highspeed_left_right false 1 4
horde_new_confirm false 1
    horde_results_animate_in false 1 1
    horde_results_animate_out false 1 1
    horde_results_anim_in_cb false 1
      horde_results_anim_out_cb false 1
        horde_results_bg_slide_out false 1
          horde_results_cleanup false 1
            horde_results_coop_disconnect false 1
              horde_results_exit false 1 4
              horde_results_init false 1
                horde_results_input_a false 1 1
                horde_results_input_coop_back false 1
                  horde_results_input_nothing false 1
                    horde_results_mouse_click false 1
                      horde_results_mouse_drag false 2
                        horde_results_mouse_drag_release false 2
                          horde_results_mouse_move false 1
                            horde_results_nav_down false 1
                              horde_results_nav_up false 1
                                horde_results_populate false 1 3
                                • horde_results.lua, line 135: --horde_results_populate(HORDE_SCREEN_TYPE_FAIL, 10, "EXCELLENT WAVE", "You might want to try something special next time. It is the only way.", 20000, 40000, "Zimos", "James Designer", 200, 500000, .5, "Zimos", "Joe Mazooola", 400, 520000, .6)
                                • horde_results.lua, line 136: --horde_results_populate(HORDE_SCREEN_TYPE_FAIL, 12, "EXCELLENT WAVE", "You might want to try something special next time. It is the only way.", 300000, 120000, "Zimos", "James Designer", 200, 500000, .5, "Zimos", "Joe Mazooola", 400, 520000, .6)
                                • horde_results.lua, line 137: --horde_results_populate(HORDE_SCREEN_TYPE_WAVE, 12, "DUMBASS WAVE", "You might want to try something special next time. It is the only way.", 300000, 120000, "Bobert", "James Designer", 200, 500000, .5, "Super", "Joe Mazooola", 400, 520000, 1)
                                horde_retry_confirm false 1
                                  hud_balance_meter_change false 1
                                    hud_btnmash_cleanup false 1
                                      hud_btnmash_complete false 1
                                        hud_btnmash_init false 1
                                          hud_btnmash_update false 1
                                            hud_busted_complete false 1
                                              hud_busted_fade_in false 1
                                                hud_busted_init false 1 1
                                                hud_challenge_test_add false 1
                                                  hud_cheat_icon_update false 1
                                                    hud_cleanup false 1
                                                      hud_collection_animate_cash false 1 1
                                                      hud_collection_anim_cash_thread false 1
                                                        hud_collection_audio_out false 1
                                                          hud_collection_finished false 1
                                                            hud_collection_game_is_paused false 1
                                                              hud_collection_init false 1 1
                                                              hud_collection_msg_end false 1
                                                                hud_collection_msg_init false 1
                                                                  hud_collection_msg_new false 1
                                                                    hud_collection_msg_show false 1 2
                                                                    hud_collection_show_respect false 1
                                                                      hud_collection_start false 1 2
                                                                      hud_collection_start_cash false 1
                                                                        hud_collection_start_control false 1
                                                                          hud_collection_start_respect false 1
                                                                            hud_collection_update false 1
                                                                              hud_cruise_control_update false 1 1
                                                                              hud_cruise_control_update_pos false 1 1
                                                                              hud_diversion_add_slot false 1 1
                                                                              hud_diversion_chal_complete false 1
                                                                                hud_diversion_chal_data_item_update false 1
                                                                                  hud_diversion_chal_show false 1 1
                                                                                  hud_diversion_chal_update false 1 2
                                                                                  • hud_diversion.lua, line 630: hud_diversion_chal_update(title, cur_val, max_val, val_units, cash_reward, respect_reward, save_in_mission, is_achievement, image, message_type)
                                                                                  • hud_diversion.lua, line 883: hud_diversion_chal_update(title, cur_val, max_val, val_units, cash_reward, respect_reward, false, is_achievement, nil, message_type)
                                                                                  hud_diversion_cleanup false 1
                                                                                    hud_diversion_complete false 1 1
                                                                                    hud_diversion_data_item_update false 1
                                                                                      hud_diversion_find_fire_handle false 1 1
                                                                                      hud_diversion_hide false 1
                                                                                        hud_diversion_init false 1
                                                                                          hud_diversion_is_fire_playing false 1 1
                                                                                          hud_diversion_loop_fire false 1
                                                                                            hud_diversion_pause false 1 2
                                                                                            hud_diversion_remove false 1 3
                                                                                            hud_diversion_remove_complete false 1
                                                                                              hud_diversion_remove_slot false 1 1
                                                                                              hud_diversion_shift_up false 1 1
                                                                                              hud_diversion_show false 1
                                                                                                hud_diversion_start_fire false 1 2
                                                                                                hud_diversion_stop_fire false 1 1
                                                                                                hud_diversion_test_add false 1
                                                                                                  hud_diversion_test_cancel false 1
                                                                                                    hud_diversion_test_complete false 1
                                                                                                      hud_diversion_test_thread false 1
                                                                                                        hud_diversion_update false 1 4
                                                                                                        • hud_diversion.lua, line 90: hud_diversion_update(di_h, meter_type, message_one, message_two, cur_value, min_value, max_value, descending, status, respect, cash, div_type, respect_stat, message_type)
                                                                                                        • hud_diversion.lua, line 790: hud_diversion_update(idx, di.meter_type, di.message_one, di.message_two, cur_value, di.min_value, di.max_value, di.descending, status, di.respect, di.cash, di.div_type, di.respect_stat, di.message_type)
                                                                                                        • hud_diversion.lua, line 947: hud_diversion_update(idx, di.meter_type, di.message_one. di.message_two, di.cur_value, di.min_value, di.max_value, di.descending, HDIS_CANCELLED, di.respect, di.cash, di.div_type, di.respect_stat, di.message_type)
                                                                                                        • hud_diversion.lua, line 960: hud_diversion_update(idx, di.meter_type, di.message_one. di.message_two, di.cur_value, di.min_value, di.max_value, di.descending, HDIS_COMPLETE, di.respect, di.cash, di.div_type, di.respect_stat, di.message_type)
                                                                                                        hud_effect_busted false 1
                                                                                                          hud_effect_end false 1
                                                                                                            hud_effect_pause false 1
                                                                                                              hud_effect_smoked false 1
                                                                                                                hud_element_fade false 1
                                                                                                                  hud_element_fade_end false 1
                                                                                                                    hud_game_interact_update false 1
                                                                                                                      hud_gsi_vdo_update false 1
                                                                                                                        hud_healthbars_cleanup false 1
                                                                                                                          hud_healthbars_debug_print false 1
                                                                                                                            hud_healthbars_init false 1 1
                                                                                                                            hud_healthbars_update false 1
                                                                                                                              hud_health_decay_end false 1
                                                                                                                                hud_health_decay_start false 1
                                                                                                                                  hud_health_flash_complete false 1
                                                                                                                                    hud_health_screen_fade false 1 3
                                                                                                                                    hud_health_screen_fade_complete false 1
                                                                                                                                      hud_hide_map false 1
                                                                                                                                        hud_hits_updates_pos false 1 1
                                                                                                                                        Hud_hit_add false 1
                                                                                                                                          hud_hit_clear_all false 1
                                                                                                                                            hud_hit_fade_end false 1
                                                                                                                                              hud_init false 1
                                                                                                                                                hud_inventory_hide false 1 2
                                                                                                                                                hud_inventory_input false 1
                                                                                                                                                  hud_inventory_process false 1
                                                                                                                                                    hud_inventory_show false 1
                                                                                                                                                      hud_map_objective_icon false 1
                                                                                                                                                        hud_mayhem_cash_destroy false 1
                                                                                                                                                          hud_mayhem_combo_total_cleanup false 1
                                                                                                                                                            hud_mayhem_combo_total_update false 1
                                                                                                                                                              hud_mayhem_init false 1 1
                                                                                                                                                              hud_mayhem_text_color_change false 1 4
                                                                                                                                                              hud_mayhem_world_cash_remove false 1
                                                                                                                                                                hud_mayhem_world_cash_update false 1
                                                                                                                                                                  hud_msg_fade_process false 1 2
                                                                                                                                                                  hud_msg_hide_region false 1
                                                                                                                                                                    hud_msg_init false 1
                                                                                                                                                                      hud_msg_new_message false 1 2
                                                                                                                                                                      hud_msg_process false 1 1
                                                                                                                                                                      hud_msg_remove_message false 1
                                                                                                                                                                        hud_msg_subtitle_bottom false 1 9
                                                                                                                                                                        hud_msg_subtitle_top false 1 9
                                                                                                                                                                        hud_msg_update_critical false 1 1
                                                                                                                                                                        hud_msg_update_gameplay_msg false 1 2
                                                                                                                                                                        hud_msg_update_message false 1
                                                                                                                                                                          hud_msg_update_region false 1 1
                                                                                                                                                                          hud_msg_update_use false 1 1
                                                                                                                                                                          hud_noto_change false 1
                                                                                                                                                                            hud_noto_icon_add false 1 1
                                                                                                                                                                            hud_noto_icon_add_end false 1
                                                                                                                                                                              hud_noto_icon_decay false 1 1
                                                                                                                                                                              hud_noto_icon_hide false 1 1
                                                                                                                                                                              hud_noto_icon_hide_end false 1
                                                                                                                                                                                hud_noto_icon_process_state false 1 1
                                                                                                                                                                                hud_noto_icon_pulse false 1 1
                                                                                                                                                                                hud_noto_icon_pulse_end false 1
                                                                                                                                                                                  hud_noto_icon_remove false 1 1
                                                                                                                                                                                  hud_noto_icon_set_state false 1 10
                                                                                                                                                                                  hud_noto_icon_set_state_silent false 1 3
                                                                                                                                                                                  hud_noto_icon_visible false 1 1
                                                                                                                                                                                  hud_noto_init false 1 1
                                                                                                                                                                                  hud_player_followers_change false 1
                                                                                                                                                                                    hud_player_health_decrease_anim false 1 1
                                                                                                                                                                                    hud_player_health_hide false 1
                                                                                                                                                                                      hud_player_health_increase_anim false 1 1
                                                                                                                                                                                      hud_player_health_show false 1 1
                                                                                                                                                                                      hud_player_hood_change false 1
                                                                                                                                                                                        hud_player_lockon_update false 1
                                                                                                                                                                                          hud_player_notoriety_hide false 1 1
                                                                                                                                                                                          hud_player_notoriety_show false 1 2
                                                                                                                                                                                          hud_player_reset_complete false 1
                                                                                                                                                                                            hud_player_respect_change false 1
                                                                                                                                                                                              hud_player_respect_force_hide false 1
                                                                                                                                                                                                hud_player_respect_hide false 1
                                                                                                                                                                                                  hud_player_satellite_weapon false 1
                                                                                                                                                                                                    hud_player_sprint_hide false 1
                                                                                                                                                                                                      hud_player_sprint_show false 1 1
                                                                                                                                                                                                      hud_player_status_change false 1
                                                                                                                                                                                                        hud_player_status_inf_change false 1
                                                                                                                                                                                                          hud_player_weapon_change false 1
                                                                                                                                                                                                            hud_player_weapon_freq_change false 1
                                                                                                                                                                                                              hud_predator_change_position false 1 1
                                                                                                                                                                                                              hud_predator_cleanup false 1
                                                                                                                                                                                                                hud_predator_game_paused false 1
                                                                                                                                                                                                                  hud_predator_guided_hide false 1 2
                                                                                                                                                                                                                  hud_predator_guided_show false 1 1
                                                                                                                                                                                                                  hud_predator_guided_update false 1 1
                                                                                                                                                                                                                  hud_predator_ignore_input false 1
                                                                                                                                                                                                                    hud_predator_init false 1
                                                                                                                                                                                                                      hud_predator_rc_hide false 1 3
                                                                                                                                                                                                                      hud_predator_rc_show false 1 1
                                                                                                                                                                                                                      hud_predator_rc_update false 1 1
                                                                                                                                                                                                                      hud_predator_satelite_update false 1 1
                                                                                                                                                                                                                      hud_predator_satellite_hide false 1 3
                                                                                                                                                                                                                      hud_predator_satellite_show false 1 1
                                                                                                                                                                                                                      hud_predator_set_color false 1 2
                                                                                                                                                                                                                      hud_predator_set_hints false 1 6
                                                                                                                                                                                                                      hud_predator_static_fill_frame false 1 1
                                                                                                                                                                                                                      hud_predator_static_set false 1 3
                                                                                                                                                                                                                      hud_predator_static_start false 1 2
                                                                                                                                                                                                                      hud_predator_static_stop false 1 3
                                                                                                                                                                                                                      hud_predator_static_thread false 1
                                                                                                                                                                                                                        hud_predator_update false 1
                                                                                                                                                                                                                          hud_predator_vignette_show false 1 4
                                                                                                                                                                                                                          hud_process false 1 1
                                                                                                                                                                                                                          • hud.lua, line 869: --Update cash (this gets read through hud_process() so it counts up nicely)
                                                                                                                                                                                                                          hud_qte_init false 1
                                                                                                                                                                                                                            hud_qte_pause_all false 1 3
                                                                                                                                                                                                                            hud_qte_play_success_anim false 1 1
                                                                                                                                                                                                                            hud_qte_update false 1
                                                                                                                                                                                                                              hud_qte_update_key_test false 1
                                                                                                                                                                                                                                hud_radial_menu_update false 1
                                                                                                                                                                                                                                  hud_reticules_init false 1 1
                                                                                                                                                                                                                                  hud_reticule_change_position false 1 1
                                                                                                                                                                                                                                  hud_reticule_opacity_update false 1 1
                                                                                                                                                                                                                                  hud_reticule_overheat_update false 1 1
                                                                                                                                                                                                                                  hud_reticule_process_hit false 1
                                                                                                                                                                                                                                    Hud_reticule_process_hit false 1 1
                                                                                                                                                                                                                                    hud_reticule_spread_update false 1 3
                                                                                                                                                                                                                                    Hud_reticule_update false 1 1
                                                                                                                                                                                                                                    hud_reticule_update_pressure false 1 1
                                                                                                                                                                                                                                    hud_running_man_cleanup false 1
                                                                                                                                                                                                                                      hud_running_man_event_update false 2 2
                                                                                                                                                                                                                                      hud_running_man_init false 1
                                                                                                                                                                                                                                        hud_running_man_load_complete false 2 2
                                                                                                                                                                                                                                        hud_running_man_peg_loaded false 2
                                                                                                                                                                                                                                          hud_running_man_play_time_low false 2 2
                                                                                                                                                                                                                                          hud_running_man_switch_panda false 2
                                                                                                                                                                                                                                            hud_sexy_time_create_tween false 1 1
                                                                                                                                                                                                                                            hud_sexy_time_flash_current_movement false 1 1
                                                                                                                                                                                                                                            hud_sexy_time_move_list_update false 1
                                                                                                                                                                                                                                              hud_sexy_time_tween_cleanup false 1 1
                                                                                                                                                                                                                                              hud_show_map false 1
                                                                                                                                                                                                                                                hud_sniper_dir_add false 1
                                                                                                                                                                                                                                                  hud_sniper_dir_remove false 1
                                                                                                                                                                                                                                                    hud_sniper_dir_update false 1 1
                                                                                                                                                                                                                                                    hud_sniper_set_hints false 1 2
                                                                                                                                                                                                                                                    hud_touch_combo_fade_in false 1 1
                                                                                                                                                                                                                                                    hud_touch_combo_fade_out false 1 1
                                                                                                                                                                                                                                                    hud_touch_combo_init false 1
                                                                                                                                                                                                                                                      hud_touch_combo_rumble_heavy false 1 1
                                                                                                                                                                                                                                                      hud_touch_combo_rumble_light false 1 1
                                                                                                                                                                                                                                                      hud_touch_combo_rumble_none false 1 2
                                                                                                                                                                                                                                                      hud_touch_combo_sticks_update false 1 1
                                                                                                                                                                                                                                                      hud_touch_combo_system_update false 1
                                                                                                                                                                                                                                                        hud_vtol_set_hints false 1 1
                                                                                                                                                                                                                                                        hud_weapon_fade_in false 1 2
                                                                                                                                                                                                                                                        hud_weapon_fade_out false 1
                                                                                                                                                                                                                                                          hud_weapon_hide false 1 1
                                                                                                                                                                                                                                                          hud_weapon_show false 1 1
                                                                                                                                                                                                                                                          hud_whored_cleanup false 1
                                                                                                                                                                                                                                                            hud_whored_gsi_update false 1
                                                                                                                                                                                                                                                              hud_whored_init false 1