Saints Row 2 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)
vdo_base_execute_callback false 1
    vdo_bitmap_viewer_init false 1
      vdo_button_header_cleanup false 1
        vdo_button_header_init false 1
          vdo_button_highlight_cleanup false 1
            vdo_button_highlight_init false 1
              vdo_button_pc_cleanup false 1
                vdo_button_pc_init false 1
                  vdo_button_pip_cleanup false 1
                    vdo_button_pip_init false 1
                      vdo_button_remap_cleanup false 1
                        vdo_button_remap_init false 1
                          vdo_button_toggle_cleanup false 1
                            vdo_button_toggle_init false 1
                              vdo_cell_filter_cleanup false 1
                                vdo_cell_filter_init false 1
                                  vdo_cell_filter_update_gamepad_state false 1
                                    vdo_cell_menu_button_init false 1
                                      vdo_cell_menu_cleanup false 1
                                        vdo_cell_menu_init false 1
                                          vdo_cell_title_cleanup false 1
                                            vdo_cell_title_init false 1
                                              vdo_city_control_init false 1
                                                vdo_dialog_cleanup false 1
                                                  vdo_dialog_init false 1
                                                    vdo_dialog_update_gamepad_state false 1
                                                      vdo_export_progress_meter_cleanup false 1
                                                        vdo_export_progress_meter_init false 1
                                                          vdo_grid_button_canceled false 1
                                                            vdo_grid_button_check_cleanup false 1
                                                              vdo_grid_button_check_init false 1
                                                                vdo_grid_button_cleanup false 1
                                                                  vdo_grid_button_init false 1
                                                                    vdo_grid_button_layered_cleanup false 1
                                                                      vdo_grid_button_layered_init false 1
                                                                        vdo_grid_list_cleanup false 1
                                                                          vdo_grid_list_init false 1
                                                                            vdo_grid_list_scroll_done false 1
                                                                              vdo_gsi_capture_meter_cleanup false 1
                                                                                vdo_gsi_capture_meter_init false 1
                                                                                  vdo_gsi_cleanup false 1
                                                                                    vdo_gsi_combo_cleanup false 1
                                                                                      vdo_gsi_combo_init false 1
                                                                                        vdo_gsi_info_cleanup false 1
                                                                                          vdo_gsi_info_init false 1
                                                                                            vdo_gsi_init false 1
                                                                                              vdo_gsi_lite_init false 1
                                                                                                vdo_gsi_meter_cleanup false 2
                                                                                                  vdo_gsi_meter_init false 1
                                                                                                    vdo_gsi_timer_cleanup false 1
                                                                                                      vdo_gsi_timer_init false 1
                                                                                                        vdo_gsi_xy_init false 1
                                                                                                          vdo_hint_bar_cleanup false 1
                                                                                                            vdo_hint_bar_init false 1
                                                                                                              vdo_hint_bar_update_gamepad_state false 1
                                                                                                                vdo_hint_button_cleanup false 1
                                                                                                                  vdo_hint_button_init false 1
                                                                                                                    vdo_item_stats_cleanup false 1
                                                                                                                      vdo_item_stats_init false 1
                                                                                                                        vdo_level_meter false 1
                                                                                                                          vdo_mega_list_cleanup false 1
                                                                                                                            vdo_mega_list_enable_listener false 1 4
                                                                                                                            vdo_mega_list_init false 1
                                                                                                                              vdo_mega_list_scroll_done false 1
                                                                                                                                vdo_mega_list_update_gamepad_state false 1
                                                                                                                                  vdo_newsticker_cleanup false 1
                                                                                                                                    vdo_newsticker_init false 1
                                                                                                                                      vdo_pause_button_highlight_cleanup false 1
                                                                                                                                        vdo_pause_button_highlight_init false 1
                                                                                                                                          vdo_pause_button_toggle_cleanup false 1
                                                                                                                                            vdo_pause_button_toggle_init false 1
                                                                                                                                              Vdo_pause_header_cleanup false 1
                                                                                                                                                Vdo_pause_header_init false 1
                                                                                                                                                  Vdo_pause_header_mini_cleanup false 1
                                                                                                                                                    Vdo_pause_header_mini_init false 1
                                                                                                                                                      vdo_pause_mega_list_cleanup false 1
                                                                                                                                                        vdo_pause_mega_list_init false 1
                                                                                                                                                          Vdo_pause_mega_list_scroll_done false 1
                                                                                                                                                            vdo_powers_button_cleanup false 1
                                                                                                                                                              vdo_powers_button_init false 1
                                                                                                                                                                vdo_respect_meter_init false 1
                                                                                                                                                                  vdo_row_cleanup false 1
                                                                                                                                                                    vdo_row_init false 1
                                                                                                                                                                      vdo_scrollbar_cleanup false 1
                                                                                                                                                                        vdo_scrollbar_init false 1
                                                                                                                                                                          vdo_scrollbox_cleanup false 1
                                                                                                                                                                            vdo_scrollbox_init false 1
                                                                                                                                                                              vdo_scrollbox_scroll_thread false 1
                                                                                                                                                                                vdo_scrollbox_thread false 1
                                                                                                                                                                                  vdo_scrolling_text_cleanup false 1
                                                                                                                                                                                    vdo_scrolling_text_init false 1
                                                                                                                                                                                      vdo_scrolling_text_localized_tag_thread false 1
                                                                                                                                                                                        vdo_scrolling_text_number_thread false 1
                                                                                                                                                                                          vdo_slider_cleanup false 1
                                                                                                                                                                                            vdo_slider_init false 1
                                                                                                                                                                                              vdo_spinner_cleanup false 1
                                                                                                                                                                                                vdo_spinner_init false 1
                                                                                                                                                                                                  vdo_store_header_init false 1
                                                                                                                                                                                                    vdo_store_popup_init false 1
                                                                                                                                                                                                      vdo_susan_init false 1
                                                                                                                                                                                                        vdo_toggle_cleanup false 1
                                                                                                                                                                                                          vdo_toggle_color_cleanup false 1
                                                                                                                                                                                                            vdo_toggle_color_init false 1
                                                                                                                                                                                                              vdo_toggle_init false 1
                                                                                                                                                                                                                vdo_weapon_pips_init false 1
                                                                                                                                                                                                                  vdo_weapon_radial_init false 1
                                                                                                                                                                                                                    vdo_weapon_radial_set_upgrade_info false 1
                                                                                                                                                                                                                      vdo_weapon_radial_slot_init false 1
                                                                                                                                                                                                                        vehicle_drive_path false 1 1
                                                                                                                                                                                                                        • game_lib.lua, line 5173: success = vehicle_drive_path(rail_table.vehicle, path.data[Rail_data[rail_table.vehicle].index], path.use_navmesh, rail_table.mission_critical)
                                                                                                                                                                                                                        vehicle_enter false 1 1
                                                                                                                                                                                                                        vehicle_enter_group false 1
                                                                                                                                                                                                                          vehicle_enter_group_teleport false 1 2
                                                                                                                                                                                                                          vehicle_enter_teleport false 1 4
                                                                                                                                                                                                                          vehicle_exit false 1
                                                                                                                                                                                                                            vehicle_exit_dive false 1
                                                                                                                                                                                                                              vehicle_exit_group false 1 1
                                                                                                                                                                                                                              vehicle_exit_group_dive false 1
                                                                                                                                                                                                                                vehicle_exit_group_teleport false 1
                                                                                                                                                                                                                                  vehicle_exit_teleport false 1 1
                                                                                                                                                                                                                                  vehicle_navmesh_pathfind_to_starting_from false 1
                                                                                                                                                                                                                                    vehicle_pathfind_to false 1 4
                                                                                                                                                                                                                                    vehicle_stop false 1 1
                                                                                                                                                                                                                                    vehicle_turret_base_to false 1 4
                                                                                                                                                                                                                                    vehicle_wait_for_players_to_enter false 1 1
                                                                                                                                                                                                                                    video_stopped false 1
                                                                                                                                                                                                                                      vint_bugs_cleanup false 1
                                                                                                                                                                                                                                        vint_bugs_init false 1
                                                                                                                                                                                                                                          vint_bugs_mouse_click false 1
                                                                                                                                                                                                                                            vint_bugs_mouse_drag false 1
                                                                                                                                                                                                                                              vint_bugs_mouse_drag_release false 1
                                                                                                                                                                                                                                                vint_bugs_mouse_move false 1
                                                                                                                                                                                                                                                  vint_bugs_mouse_scroll false 1
                                                                                                                                                                                                                                                    vint_clip_select_get_clips false 1
                                                                                                                                                                                                                                                      vint_clip_select_get_clip_data false 1
                                                                                                                                                                                                                                                        vint_clip_select_get_num_clips false 1
                                                                                                                                                                                                                                                          vint_lua_create_threaded_object false 2 2
                                                                                                                                                                                                                                                          vint_lua_exit_threaded_object false 1 2
                                                                                                                                                                                                                                                          vint_lua_get_threaded_object false 1 1
                                                                                                                                                                                                                                                          vint_lua_get_threaded_object_handle false 2
                                                                                                                                                                                                                                                            vint_lua_kill_threaded_object false 2 2
                                                                                                                                                                                                                                                            vint_lua_threaded_object_create false 1
                                                                                                                                                                                                                                                              vint_lua_threaded_object_thread false 2
                                                                                                                                                                                                                                                                vint_options_remap_get_num_actions false 1
                                                                                                                                                                                                                                                                  vint_remap_get_action_binding false 1
                                                                                                                                                                                                                                                                    vint_remap_update_display false 1 4
                                                                                                                                                                                                                                                                    vint_set_child_tween_state false 1 1
                                                                                                                                                                                                                                                                    vint_set_child_tween_target_handle false 1 1