Saints Row 2 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)
base_jumping_enable true
    2
    bh01_main true 1
      bh01_phonecall true 1
        bh01_setup true 1
          bh02_main true 1
            bh02_setup true 1
              bh03_main true 1
                bh03_setup true 1
                  bh04_main true 1
                    bh04_setup true 1
                      bh05_main true 1
                        bh05_setup true 1
                          bh06_main true 1
                            bh06_setup true 1
                              bh07_main true 1
                                bh07_setup true 1
                                  bh08_main true 1
                                    bh08_setup true 1
                                      bh08_skip_coop true 1
                                        bh09_main true 1
                                          bh09_phonecall true 1
                                            bh09_setup true 1
                                              bh10_main true 1
                                                bh10_setup true 1
                                                  bh11_main true 1
                                                    bh11_phonecall true 1
                                                      bh11_setup true 1
                                                        bink_movie_done true
                                                          1
                                                          bink_play_movie true 1 12
                                                          bink_play_movie_do true
                                                            1
                                                            building_purchase_is_crib_being_purchased true
                                                              1
                                                              build_get_build_type true
                                                                1