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)
waiting_for_player_dialog true
    2
    wander_start true
      4
      waypoint_add true
        25
        waypoint_is_placed true
          1
          waypoint_remove true
            32
            which_side_of_2d_line true
              6
              whored_countdown_finished true
                1
                wind_override_clear true
                  4
                  wind_override_set true
                    5
                    world_despawn_all_pedestrians true
                      1
                      world_despawn_all_vehicles true
                        1
                        wrap_index true 1 4