Saints Row 2 Function Reference

Local functions

These functions are defined within the patch lua files. They are assumed to be only available within the file that defines them or by including the file in another script.

Some of these functions may essentially be global since their files are always loaded; which files (and which functions) haven't been determined yet.

Function name Global Defined in Examples from patch (click blue number to expand)
on_coop_login_enter_session_pass false 1
    on_multi_change_name_filter false 1
      on_multi_login_create false 1
        on_multi_login_enter_login false 1
          on_multi_login_enter_pass false 1
            on_multi_login_enter_player_name false 1
              on_multi_login_enter_repass false 1
                on_multi_login_enter_session_name false 1
                  on_multi_login_enter_session_pass false 1
                    on_multi_login_enter_sp_session_name false 1
                      on_multi_login_try_login false 1
                        on_random_human_killed false 1 1
                        on_random_mover_killed false 1
                          on_random_obj_killed false 4
                            on_random_ods_killed false 1 11
                            on_random_vehicle_killed false 1
                              on_take_damage false 1 106
                              on_trigger false 4 635
                              open_vint_dialog false 1 1
                              • tss01.lua, line 1281: local path_choice = open_vint_dialog("tss01_choose", "tss01_body", "tss01_tutorial", "tss01_run_gun")