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)
element_bounds_debug false 1
    element_bounds_debug_clear false 1
      enable false 3
        enable_centered false 1
          enable_mini_mode false 1 3
          enable_price_respect false 1 23
          enable_text_shadow false 1 18
          enable_toggle_input false 1 33
          end_event_anim false 2 2
          enemy_set_cleanup false 1 1
          enemy_set_setup false 1 1
          enforce_dx9 false 1 4
          exp_approach false 1 1
          • hud.lua, line 1404: local exp_cash = exp_approach(display_cash, Hud_player_status.cash, 0.99995, step_time) - display_cash