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)
game_audio_get_audio_id true
    12
    game_audio_play true
      4
      game_audio_set_rtpc true
        1
        game_audio_stop true
          7
          game_autosave true
            2
            game_award_cash true
              3
              game_award_respect true
                10
                game_cancel_mission true
                  1
                  game_can_send_player_invite true
                    2
                    game_check_coop_dlc true
                      4
                      game_choice_get_state true
                        3
                        • m22.lua, line 2457: if game_choice_get_state(MISSION_21_CHOICE) == M21_CHOICE_KILLBANE_UNMASKED then
                        • sr3_city.lua, line 52: if game_choice_get_state( MISSION_06_CHOICE ) == M06_CHOICE_BRANDED_TOWER then
                        • sr3_city.lua, line 156: if game_choice_get_state( MISSION_22_CHOICE ) == M22_CHOICE_KILLBANE_KILL then
                        game_choice_set_state true
                          8
                          • m06.lua, line 1001: game_choice_set_state( MISSION_06_CHOICE, M06_CHOICE_BRANDED_TOWER )
                          • m06.lua, line 1003: game_choice_set_state( MISSION_06_CHOICE, M06_CHOICE_BLOWN_TOWER )
                          • m21.lua, line 830: game_choice_set_state( MISSION_21_CHOICE, M21_CHOICE_KILLBANE_UNMASKED )
                          • m21.lua, line 832: game_choice_set_state( MISSION_21_CHOICE, M21_CHOICE_KILLBANE_NOT_UNMASKED )
                          • m21.lua, line 1072: game_choice_set_state( MISSION_21_CHOICE, M21_CHOICE_KILLBANE_UNMASKED )
                          • m21.lua, line 1074: game_choice_set_state( MISSION_21_CHOICE, M21_CHOICE_KILLBANE_NOT_UNMASKED )
                          • m22.lua, line 1334: game_choice_set_state( MISSION_22_CHOICE, M22_CHOICE_KILLBANE_KILL )
                          • m22.lua, line 1336: game_choice_set_state( MISSION_22_CHOICE, M22_CHOICE_KILLBANE_ESCAPE )
                          game_coop_get_starting_coop true
                            7
                            game_coop_kick_player true
                              2
                              game_coop_start_new_live true
                                3
                                game_difficulty_select true
                                  4
                                  game_event_tracking_interface_exit true
                                    1
                                    game_format_int_to_string true
                                      1
                                      game_get_coop_friendly_fire true
                                        3
                                        game_get_coop_join_type true
                                          2
                                          game_get_game_play_mode true
                                            1
                                            game_get_in_progress_type true
                                              3
                                              game_get_is_host true
                                                28
                                                game_get_key_name true
                                                  8
                                                  game_get_key_name_for_action true
                                                    22
                                                    • hud.lua, line 70: {CTRL_BUTTON_DPAD_DOWN, "HUD_CRUISE_CONTROL_NO_BUTTON", game_get_key_name_for_action("CBA_VDC_CRUISE_CONTROL_B")},
                                                    • hud.lua, line 251: {CTRL_BUTTON_Y, "HUD_SNIPER_ZOOM_IN", game_get_key_name_for_action("CBA_OFC_ZOOM_IN")},
                                                    • hud.lua, line 252: {CTRL_GAMEPLAY_BUTTON_A, "HUD_SNIPER_ZOOM_OUT", game_get_key_name_for_action("CBA_OFC_ZOOM_OUT")},
                                                    • hud.lua, line 256: {CTRL_GAMEPLAY_BUTTON_B, "SWITCH_MODE", game_get_key_name_for_action("CBA_VDC_VTOL_TRANSITION")},
                                                    • hud.lua, line 497: Hud_camera.hint_key = game_get_key_name_for_action( "CBA_GAC_TAKE_SCREENSHOT" )
                                                    • hud.lua, line 964: Hud_camera.hint_key = game_get_key_name_for_action( "CBA_GAC_TAKE_SCREENSHOT" )
                                                    • hud.lua, line 1497: {CTRL_BUTTON_Y, "HUD_SNIPER_ZOOM_IN", game_get_key_name_for_action("CBA_OFC_ZOOM_IN")},
                                                    • hud.lua, line 1498: {CTRL_GAMEPLAY_BUTTON_A, "HUD_SNIPER_ZOOM_OUT", game_get_key_name_for_action("CBA_OFC_ZOOM_OUT")},
                                                    • hud.lua, line 1512: {CTRL_GAMEPLAY_BUTTON_B, "SWITCH_MODE", game_get_key_name_for_action("CBA_VDC_VTOL_TRANSITION")},
                                                    • hud.lua, line 2221: {CTRL_BUTTON_DPAD_DOWN, "HUD_CRUISE_CONTROL_NO_BUTTON", game_get_key_name_for_action("CBA_VDC_CRUISE_CONTROL_B")},
                                                    • hud_predator.lua, line 46: {CTRL_BUTTON_LT, "SATELLITE_GUIDED_MISSILE", game_get_key_name_for_action("CBA_SWC_FIRE_GUIDED")},
                                                    • hud_predator.lua, line 47: {CTRL_BUTTON_RT, "SATELLITE_FIRE_MISSILE", game_get_key_name_for_action("CBA_SWC_FIRE_FREE")},
                                                    • hud_predator.lua, line 48: {CTRL_MENU_BUTTON_B, "SATELLITE_MODE_EXIT", game_get_key_name_for_action("CBA_SWC_EXIT_SATELLITE_MODE")},
                                                    • hud_predator.lua, line 51: {CTRL_BUTTON_LT, "SATELLITE_SLOW_DOWN", game_get_key_name_for_action("CBA_SWC_MISSILE_DECELERATE")},
                                                    • hud_predator.lua, line 52: {CTRL_BUTTON_RT, "SATLLITE_SPEED_UP", game_get_key_name_for_action("CBA_SWC_MISSILE_ACCELERATE")},
                                                    • hud_predator.lua, line 53: {CTRL_MENU_BUTTON_B, "SATELLITE_EXIT_GUIDED_MODE", game_get_key_name_for_action("CBA_SWC_EXIT_SATELLITE_MODE")},
                                                    • hud_predator.lua, line 56: {CTRL_MENU_BUTTON_B, "SATELLITE_EXIT_RC_MODE", game_get_key_name_for_action("CBA_VDC_RC_ABORT")},
                                                    • hud_predator.lua, line 59: {CTRL_BUTTON_Y, "SATELLITE_RC_MODE_DESTRUCT", game_get_key_name_for_action("CBA_VDC_RC_SELF_DESTRUCT")},
                                                    • hud_predator.lua, line 60: {CTRL_MENU_BUTTON_B, "SATELLITE_EXIT_RC_MODE", game_get_key_name_for_action("CBA_VDC_RC_ABORT")},
                                                    • pause_options_record_mode.lua, line 83: local record_key = game_get_key_name_for_action( "CBA_GAC_MACHINIMA_QUICKSAVE" )
                                                    • vdo_respect_meter.lua, line 32: self.back_button_key = game_get_key_name_for_action( "CBA_GAC_MAP_MENU" )
                                                    • vdo_respect_meter.lua, line 265: self.back_button_key = game_get_key_name_for_action( "CBA_GAC_MAP_MENU" )
                                                    game_get_language true
                                                      9
                                                      game_get_party_member_count true
                                                        4
                                                        game_get_pending_game_play_mode true
                                                          1
                                                          game_get_platform true
                                                            222
                                                            game_get_ps3_button_swap true
                                                              2
                                                              game_hud_hide true
                                                                2
                                                                game_hud_update_inventory true
                                                                  2
                                                                  game_interface_effect_begin true
                                                                    4
                                                                    game_interface_effect_end true
                                                                      2
                                                                      game_is_active_input_gamepad true
                                                                        35
                                                                        game_is_autosaving true
                                                                          2
                                                                          game_is_connected_to_internet true
                                                                            1
                                                                            game_is_connected_to_network true
                                                                              3
                                                                              game_is_connected_to_service true
                                                                                4
                                                                                game_is_debug_reloading_level true
                                                                                  1
                                                                                  • vint_lib.lua, line 1191: if (game_is_going_to_main_menu() == false) and (game_is_debug_reloading_level() == false) then
                                                                                  game_is_demo true
                                                                                    1
                                                                                    game_is_german_build true
                                                                                      1
                                                                                      game_is_going_to_main_menu true
                                                                                        1
                                                                                        • vint_lib.lua, line 1191: if (game_is_going_to_main_menu() == false) and (game_is_debug_reloading_level() == false) then
                                                                                        game_is_joinable true
                                                                                          2
                                                                                          game_is_local_player_in_vehicle true
                                                                                            2
                                                                                            • vint_lib.lua, line 924: if pause_menu_is_using_southpaw_control_scheme() == true and game_is_local_player_in_vehicle() == false then
                                                                                            • vint_lib.lua, line 930: elseif pause_menu_is_using_vehicle_southpaw_control_scheme() == true and game_is_local_player_in_vehicle() == true then
                                                                                            game_is_pc_dx11 true
                                                                                              2
                                                                                              game_is_signed_in true
                                                                                                3
                                                                                                game_is_waiting_for_partner true
                                                                                                  1
                                                                                                  game_kick_coop_player true
                                                                                                    1
                                                                                                    game_letterbox_fade_out true
                                                                                                      1
                                                                                                      game_lobby_coop_finished true
                                                                                                        3
                                                                                                        game_lobby_finished_loading true
                                                                                                          1
                                                                                                          game_lobby_get_remote_player_name true
                                                                                                            4
                                                                                                            game_lobby_horde_continue_from_wave true
                                                                                                              1
                                                                                                              game_lobby_set_horde_mode_data true
                                                                                                                2
                                                                                                                game_lobby_update_char_selection true
                                                                                                                  2
                                                                                                                  • game_lobby.lua, line 686: game_lobby_update_char_selection(Character_button.options_data[Character_button.current_value].id)
                                                                                                                  • game_lobby.lua, line 962: game_lobby_update_char_selection(Character_button.options_data[Character_button.current_value].id)
                                                                                                                  game_lobby_update_map_selection true
                                                                                                                    2
                                                                                                                    game_lobby_update_ready_state true
                                                                                                                      1
                                                                                                                      game_machinima_clip_exists true
                                                                                                                        1
                                                                                                                        game_machinima_copy_clip true
                                                                                                                          1
                                                                                                                          game_machinima_delete_clip true
                                                                                                                            1
                                                                                                                            game_machinima_is_recording true
                                                                                                                              3
                                                                                                                              game_machinima_overwrite_clip true
                                                                                                                                1
                                                                                                                                game_machinima_playback_enter true
                                                                                                                                  2
                                                                                                                                  game_machinima_record true
                                                                                                                                    1
                                                                                                                                    game_main_menu_join_friend_in_progress true
                                                                                                                                      2
                                                                                                                                      game_pause_map_filter true
                                                                                                                                        1
                                                                                                                                        game_peg_load_with_cb true
                                                                                                                                          50
                                                                                                                                          game_peg_unload true
                                                                                                                                            81
                                                                                                                                            game_proto_select true
                                                                                                                                              1
                                                                                                                                              game_record_mode_can_encode true
                                                                                                                                                1
                                                                                                                                                game_record_mode_enable true
                                                                                                                                                  1
                                                                                                                                                  game_record_mode_is_active true
                                                                                                                                                    1
                                                                                                                                                    game_record_mode_is_supported true
                                                                                                                                                      2
                                                                                                                                                      game_record_mode_show_hud true
                                                                                                                                                        1
                                                                                                                                                        game_record_set_quality_level true
                                                                                                                                                          1
                                                                                                                                                          game_request_game_terminate true
                                                                                                                                                            1
                                                                                                                                                            game_send_party_invites true
                                                                                                                                                              2
                                                                                                                                                              game_send_pause_menu_player_invite true
                                                                                                                                                                2
                                                                                                                                                                game_set_coop_friendly_fire true
                                                                                                                                                                  3
                                                                                                                                                                  game_set_coop_join_type true
                                                                                                                                                                    2
                                                                                                                                                                    game_set_equipped_grenade true
                                                                                                                                                                      1
                                                                                                                                                                      game_show_community_sessions_ui true
                                                                                                                                                                        1
                                                                                                                                                                        game_show_coop_gamercard true
                                                                                                                                                                          2
                                                                                                                                                                          game_show_coop_partner_gamercard true
                                                                                                                                                                            2
                                                                                                                                                                            game_show_party_ui true
                                                                                                                                                                              1
                                                                                                                                                                              game_sign_into_network true
                                                                                                                                                                                3
                                                                                                                                                                                game_steam_open_dlc_page_overlay true
                                                                                                                                                                                  1
                                                                                                                                                                                  game_steam_open_overlay true
                                                                                                                                                                                    1
                                                                                                                                                                                    game_steam_open_url true
                                                                                                                                                                                      1
                                                                                                                                                                                      game_UI_audio_play true
                                                                                                                                                                                        283
                                                                                                                                                                                        game_use_imperial_units true
                                                                                                                                                                                          1
                                                                                                                                                                                          game_use_radial_menu_item true
                                                                                                                                                                                            2
                                                                                                                                                                                            game_vkeyboard_input true
                                                                                                                                                                                              4
                                                                                                                                                                                              gang_customization_confirm_gang_sign true
                                                                                                                                                                                                1
                                                                                                                                                                                                gang_customization_confirm_vehicle true
                                                                                                                                                                                                  1
                                                                                                                                                                                                  gang_customization_revert_gang_sign true
                                                                                                                                                                                                    1
                                                                                                                                                                                                    gang_customization_revert_vehicle true
                                                                                                                                                                                                      1
                                                                                                                                                                                                      gang_customization_select_gang_sign true
                                                                                                                                                                                                        1
                                                                                                                                                                                                        gang_customization_select_vehicle true
                                                                                                                                                                                                          1
                                                                                                                                                                                                          garage_back_to_customize true
                                                                                                                                                                                                            1
                                                                                                                                                                                                            garage_can_customize true
                                                                                                                                                                                                              1
                                                                                                                                                                                                              garage_can_delete true
                                                                                                                                                                                                                1
                                                                                                                                                                                                                garage_clear_new true
                                                                                                                                                                                                                  1
                                                                                                                                                                                                                  garage_get_garage_type true
                                                                                                                                                                                                                    1
                                                                                                                                                                                                                    garage_get_repair_cost true
                                                                                                                                                                                                                      4
                                                                                                                                                                                                                      garage_preview_vehicle true
                                                                                                                                                                                                                        3
                                                                                                                                                                                                                        garage_remove_vehicle true
                                                                                                                                                                                                                          1
                                                                                                                                                                                                                          garage_repair_vehicle true
                                                                                                                                                                                                                            2
                                                                                                                                                                                                                            garage_vehicle_load_pending true
                                                                                                                                                                                                                              1
                                                                                                                                                                                                                              get_actual_a_button true 1
                                                                                                                                                                                                                                get_actual_b_button true 1
                                                                                                                                                                                                                                  get_a_button true 1 2
                                                                                                                                                                                                                                  get_back_image true 1 2
                                                                                                                                                                                                                                  get_b_button true 1 2
                                                                                                                                                                                                                                  get_char_in_string true
                                                                                                                                                                                                                                    1
                                                                                                                                                                                                                                    get_char_in_vehicle true
                                                                                                                                                                                                                                      3
                                                                                                                                                                                                                                      get_char_skydiving_state true
                                                                                                                                                                                                                                        1
                                                                                                                                                                                                                                        • m02.lua, line 2066: while(get_char_skydiving_state(LOCAL_PLAYER) ~= 0 and (coop_is_active() == false or get_char_skydiving_state(REMOTE_PLAYER) ~= 0)) do
                                                                                                                                                                                                                                        get_char_vehicle_is_in_air true
                                                                                                                                                                                                                                          3
                                                                                                                                                                                                                                          • m05.lua, line 2151: while get_char_vehicle_is_in_air( pilot ) == true and not emergency_exit do
                                                                                                                                                                                                                                          • m09.lua, line 4995: while (get_char_vehicle_is_in_air(attacker.heli_group.pilot) == true and get_vehicle_speed(attacker.heli_group.vehicle) > 1.0) do
                                                                                                                                                                                                                                          • m23.lua, line 2147: while (get_char_vehicle_is_in_air(group.chars[1]) == true) do
                                                                                                                                                                                                                                          get_char_vehicle_name true
                                                                                                                                                                                                                                            20
                                                                                                                                                                                                                                            get_char_vehicle_type true
                                                                                                                                                                                                                                              7
                                                                                                                                                                                                                                              get_closest_npc_to_object true
                                                                                                                                                                                                                                                2
                                                                                                                                                                                                                                                • m12.lua, line 1239: local dist_to_npc, npc = get_closest_npc_to_object(elevator.trigger, M12_ELEVATOR_OPEN_PROXIMITY)
                                                                                                                                                                                                                                                • m15.lua, line 2732: local dist_to_npc, npc = get_closest_npc_to_object(elevator.nav, M15_ELEVATOR_OPEN_PROXIMITY)
                                                                                                                                                                                                                                                get_closest_object true
                                                                                                                                                                                                                                                  1
                                                                                                                                                                                                                                                  • m15.lua, line 1639: local leash_nav = get_closest_object(npc, M15_outside_garage.stag_leashes)
                                                                                                                                                                                                                                                  get_control_stick_base true 1
                                                                                                                                                                                                                                                    get_control_stick_text true 1
                                                                                                                                                                                                                                                      get_control_stick_thumb true 1
                                                                                                                                                                                                                                                        get_current_difficulty true
                                                                                                                                                                                                                                                          2
                                                                                                                                                                                                                                                          get_current_hit_points true
                                                                                                                                                                                                                                                            13
                                                                                                                                                                                                                                                            get_dist true
                                                                                                                                                                                                                                                              181
                                                                                                                                                                                                                                                              get_dist_closest_player_to_object true 1 47
                                                                                                                                                                                                                                                              • dlc2_m01.lua, line 4776: local dist = get_dist_closest_player_to_object(npc_table.npc)
                                                                                                                                                                                                                                                              • dlc2_m01.lua, line 4949: dist = get_dist_closest_player_to_object(vehicle_table.vehicle)
                                                                                                                                                                                                                                                              • dlc2_m01.lua, line 5254: local dist, closest_player = get_dist_closest_player_to_object(Dlc2_m01_groups.kwilanna_heli.heli.pilot)
                                                                                                                                                                                                                                                              • dlc2_m03.lua, line 2667: local dist, closest_player = get_dist_closest_player_to_object(spawn_group.navpoint)
                                                                                                                                                                                                                                                              • game_lib.lua, line 665: local distance, closest_player = get_dist_closest_player_to_object( npc_name )
                                                                                                                                                                                                                                                              • m05.lua, line 2270: if (get_dist_closest_player_to_object(npc) < M05_chase.rocket_dist) then
                                                                                                                                                                                                                                                              • m07.lua, line 1234: while ((M07_status.player_vehicle_type ~= VT_WATERCRAFT) and (M07_status.player_vehicle_type ~= VT_HELICOPTER) and (M07_status.player_vehicle_type ~= VT_AIRPLANE) and (get_dist_closest_player_to_object(M07_trigger.barge_dock) > 100)) do
                                                                                                                                                                                                                                                              • m07.lua, line 3130: while (get_dist_closest_player_to_object(M07_group.luchadores_outside.brute) > 30) do
                                                                                                                                                                                                                                                              • m07.lua, line 3158: while (get_dist_closest_player_to_object(M07_navpoint.casino_entry_1) > 60) do
                                                                                                                                                                                                                                                              • m07.lua, line 3177: while (get_dist_closest_player_to_object(M07_navpoint.casino_entry_1) > 15) do
                                                                                                                                                                                                                                                              • m11.lua, line 1597: while (get_dist_closest_player_to_object(M11_groups.air_base.final_plane.vehicle) > 600) do
                                                                                                                                                                                                                                                              • m11.lua, line 2685: while (get_dist_closest_player_to_object(lifter.pilot) > 200) do
                                                                                                                                                                                                                                                              • m11.lua, line 2827: dist, player = get_dist_closest_player_to_object(heli)
                                                                                                                                                                                                                                                              • m11.lua, line 2854: dist, player = get_dist_closest_player_to_object(heli)
                                                                                                                                                                                                                                                              • m11.lua, line 2884: dist, player = get_dist_closest_player_to_object(roadblock.location)
                                                                                                                                                                                                                                                              • m14.lua, line 877: until (get_dist_closest_player_to_object(M14_navpoint.t2_helipad) < 25)
                                                                                                                                                                                                                                                              • m14.lua, line 1059: dist, player = get_dist_closest_player_to_object(M14_vehicle.broadcast_van)
                                                                                                                                                                                                                                                              • m14.lua, line 1273: until (get_dist_closest_player_to_object(M14_trigger.helipad) < 100)
                                                                                                                                                                                                                                                              • m14.lua, line 1554: dist, player = get_dist_closest_player_to_object( M14_char.jane )
                                                                                                                                                                                                                                                              • m15.lua, line 2710: local dist = get_dist_closest_player_to_object(VEHICLE_SUPER_COMPUTER) - RUBBER_BAND_CLOSE_DIST
                                                                                                                                                                                                                                                              • m17.lua, line 2235: while (get_dist_closest_player_to_object(M17_group.vtol.vtol) > 20) do
                                                                                                                                                                                                                                                              • m19.lua, line 1143: while (get_dist_closest_player_to_object(Current_Suko) > 25) do
                                                                                                                                                                                                                                                              • m19.lua, line 2355: while (get_dist_closest_player_to_object(M19_group.flaming_brute.brute) > 5.0) do
                                                                                                                                                                                                                                                              • m22.lua, line 1789: local dist = get_dist_closest_player_to_object(start_pos.nav)
                                                                                                                                                                                                                                                              • m22.lua, line 3026: local cur_dist = get_dist_closest_player_to_object(group.center_pos)
                                                                                                                                                                                                                                                              • m22.lua, line 4767: local dist_to_player, closest_player = get_dist_closest_player_to_object(M22_characters.Kia)
                                                                                                                                                                                                                                                              • m22.lua, line 4773: local dest_dist_to_player, dest_closest_player = get_dist_closest_player_to_object(Kia_boss_ai.current_navpoint)
                                                                                                                                                                                                                                                              • m22.lua, line 4786: local nav_dist_to_player = get_dist_closest_player_to_object(nav)
                                                                                                                                                                                                                                                              • m24.lua, line 1837: while get_dist_closest_player_to_object(M24_deaths[homie_index].pos) > 20.0 do
                                                                                                                                                                                                                                                              • mm_p_02.lua, line 130: repeat thread_yield() until ( get_dist_closest_player_to_object( MM_P_02_trigger.dt.name ) < MM_P_02_PIERCE_SPAWN_DIST )
                                                                                                                                                                                                                                                              • mm_p_03.lua, line 372: repeat thread_yield() until ( get_dist_closest_player_to_object( MM_P_03_navs.sf ) < 5 )
                                                                                                                                                                                                                                                              • mm_p_03.lua, line 401: repeat thread_yield() until ( get_dist_closest_player_to_object( MM_P_03_navs.collectible ) < 10 )
                                                                                                                                                                                                                                                              • mm_p_03.lua, line 445: repeat thread_yield() until ( get_dist_closest_player_to_object( fp_nav ) < FLASHPOINT_SPAWN_DIST )
                                                                                                                                                                                                                                                              • mm_p_03.lua, line 453: until ( get_dist_closest_player_to_object( fp_nav ) < 17 ) or (flashpoint_mission_status() ~= FLASHPOINT_NOT_ACTIVE)
                                                                                                                                                                                                                                                              • mm_p_03.lua, line 503: repeat thread_yield() until ( get_dist_closest_player_to_object( MM_P_03_navs.store_int ) < 3 )
                                                                                                                                                                                                                                                              • mm_p_06.lua, line 212: --repeat thread_yield() until ( get_dist_closest_player_to_object( MM_P_06_group.npcs.pierce ) < MM_P_06_PIERCE_SPAWN_DIST )
                                                                                                                                                                                                                                                              • mm_p_06.lua, line 216: repeat thread_yield() until ( get_dist_closest_player_to_object( MM_P_06_navs.hq ) < MM_P_06_PIERCE_TRIGGER_DIST )
                                                                                                                                                                                                                                                              • sh03.lua, line 973: repeat thread_yield() until ( get_dist_closest_player_to_object( SH03_GPS_OBJECTIVE_ONE ) < 40 )
                                                                                                                                                                                                                                                              • sh03.lua, line 1138: until get_dist_closest_player_to_object( SH03_HELICOPTER ) <= 9
                                                                                                                                                                                                                                                              • sh03.lua, line 1221: --repeat thread_yield() until ( get_dist_closest_player_to_object( SH03_TOWER_NAV_ONE ) <= SH03_UPDATE_DIST )
                                                                                                                                                                                                                                                              • sh03.lua, line 1224: repeat thread_yield() until ( get_dist_closest_player_to_object( SH03_TOWER_NAV_TWO ) <= SH03_UPDATE_DIST )
                                                                                                                                                                                                                                                              • sh04.lua, line 1253: while (get_dist_closest_player_to_object( SH04_group.casino_manager.members ) > 20 ) or ( character_is_ragdolled(SH04_group.casino_manager.members) ) do
                                                                                                                                                                                                                                                              • sh04.lua, line 1272: dist, SH04_INTERROGATE_PLAYER = get_dist_closest_player_to_object( SH04_group.casino_manager.members )
                                                                                                                                                                                                                                                              • sh04.lua, line 1275: if get_dist_closest_player_to_object( SH04_group.casino_manager.members ) <= 2 and display == false and character_is_ragdolled(SH04_group.casino_manager.members) == false then
                                                                                                                                                                                                                                                              • sh04.lua, line 1276: dist, SH04_INTERROGATE_PLAYER = get_dist_closest_player_to_object( SH04_group.casino_manager.members )
                                                                                                                                                                                                                                                              • sh04.lua, line 1286: dist, SH04_INTERROGATE_PLAYER = get_dist_closest_player_to_object( SH04_group.casino_manager.members )
                                                                                                                                                                                                                                                              • sh04.lua, line 2247: while ( get_dist_closest_player_to_object( angel ) < 8.5 ) do
                                                                                                                                                                                                                                                              get_dpad_down_image true 1 1
                                                                                                                                                                                                                                                              get_dpad_image true 2 1
                                                                                                                                                                                                                                                              get_dpad_left_image true 1 1
                                                                                                                                                                                                                                                              get_dpad_lr_image true 1 1
                                                                                                                                                                                                                                                              get_dpad_right_image true 1 1
                                                                                                                                                                                                                                                              get_dpad_ud_image true 1 1
                                                                                                                                                                                                                                                              get_dpad_up_image true 1 1
                                                                                                                                                                                                                                                              get_frame_time true
                                                                                                                                                                                                                                                                23
                                                                                                                                                                                                                                                                get_get_key_names_for_axis_action true
                                                                                                                                                                                                                                                                  2
                                                                                                                                                                                                                                                                  get_lb_button true 1 1
                                                                                                                                                                                                                                                                  get_left_right true 1
                                                                                                                                                                                                                                                                    get_left_stick true 1 1
                                                                                                                                                                                                                                                                    get_left_trigger true 1
                                                                                                                                                                                                                                                                      get_localized_crc_for_tag true
                                                                                                                                                                                                                                                                        14
                                                                                                                                                                                                                                                                        get_localized_string_for_tag true
                                                                                                                                                                                                                                                                          1
                                                                                                                                                                                                                                                                          get_ls_press_image true 1 1
                                                                                                                                                                                                                                                                          get_lt_button true 1 1
                                                                                                                                                                                                                                                                          get_max_hit_points true
                                                                                                                                                                                                                                                                            25
                                                                                                                                                                                                                                                                            get_num_humans_in_trigger true
                                                                                                                                                                                                                                                                              3
                                                                                                                                                                                                                                                                              get_object_pos true
                                                                                                                                                                                                                                                                                5
                                                                                                                                                                                                                                                                                get_random_table_entry true 1 20
                                                                                                                                                                                                                                                                                get_random_target_player true 1
                                                                                                                                                                                                                                                                                  get_rb_button true 1 1
                                                                                                                                                                                                                                                                                  get_right_stick true 1 1
                                                                                                                                                                                                                                                                                  get_right_trigger true 1
                                                                                                                                                                                                                                                                                    get_rs_press_image true 1 1
                                                                                                                                                                                                                                                                                    get_rt_button true 1 1
                                                                                                                                                                                                                                                                                    get_start_image true 1 1
                                                                                                                                                                                                                                                                                    get_team true
                                                                                                                                                                                                                                                                                      4
                                                                                                                                                                                                                                                                                      get_up_down true 1
                                                                                                                                                                                                                                                                                        get_vehicle_speed true
                                                                                                                                                                                                                                                                                          2
                                                                                                                                                                                                                                                                                          • game_lib.lua, line 3319: while( (not dont_block) and get_vehicle_speed(name) > 0 ) do
                                                                                                                                                                                                                                                                                          • m09.lua, line 4995: while (get_char_vehicle_is_in_air(attacker.heli_group.pilot) == true and get_vehicle_speed(attacker.heli_group.vehicle) > 1.0) do
                                                                                                                                                                                                                                                                                          get_vehicle_type true
                                                                                                                                                                                                                                                                                            4
                                                                                                                                                                                                                                                                                            get_world_income_dollars true
                                                                                                                                                                                                                                                                                              1
                                                                                                                                                                                                                                                                                              get_x_button true 1 1
                                                                                                                                                                                                                                                                                              get_y_button true 1 1
                                                                                                                                                                                                                                                                                              group_create true 1 556
                                                                                                                                                                                                                                                                                              group_create_check_done true
                                                                                                                                                                                                                                                                                                3
                                                                                                                                                                                                                                                                                                group_create_check_done_loop true 1 10
                                                                                                                                                                                                                                                                                                group_create_do true
                                                                                                                                                                                                                                                                                                  1
                                                                                                                                                                                                                                                                                                  group_create_hidden true 1 132
                                                                                                                                                                                                                                                                                                  group_create_hidden_do true
                                                                                                                                                                                                                                                                                                    1
                                                                                                                                                                                                                                                                                                    group_destroy true 1 440
                                                                                                                                                                                                                                                                                                    group_destroy_do true
                                                                                                                                                                                                                                                                                                      4
                                                                                                                                                                                                                                                                                                      group_foreach_npc true 1 9
                                                                                                                                                                                                                                                                                                      group_get_actual_size true 1 1
                                                                                                                                                                                                                                                                                                      group_get_first_npc true
                                                                                                                                                                                                                                                                                                        2
                                                                                                                                                                                                                                                                                                        group_get_next_npc true
                                                                                                                                                                                                                                                                                                          2
                                                                                                                                                                                                                                                                                                          group_hide true 1 1
                                                                                                                                                                                                                                                                                                          group_hide_do true
                                                                                                                                                                                                                                                                                                            2
                                                                                                                                                                                                                                                                                                            group_is_loaded true 1 467
                                                                                                                                                                                                                                                                                                            group_is_loaded_internal true
                                                                                                                                                                                                                                                                                                              2
                                                                                                                                                                                                                                                                                                              group_members_alive true
                                                                                                                                                                                                                                                                                                                7
                                                                                                                                                                                                                                                                                                                • m05.lua, line 1970: num_enemies = num_enemies + group_members_alive(M05_groups.elevator.name)
                                                                                                                                                                                                                                                                                                                • m05.lua, line 1973: num_enemies = num_enemies + group_members_alive(M05_groups.guards.name)
                                                                                                                                                                                                                                                                                                                • m05.lua, line 1976: num_enemies = num_enemies + group_members_alive(M05_groups.drop_1.name)
                                                                                                                                                                                                                                                                                                                • m05.lua, line 1979: num_enemies = num_enemies + group_members_alive(M05_groups.drop_2.name)
                                                                                                                                                                                                                                                                                                                • m05.lua, line 2058: while group_is_loaded(M05_groups.elevator.name) and group_members_alive(M05_groups.elevator.name) > 0 do
                                                                                                                                                                                                                                                                                                                • m13.lua, line 3687: return group_members_alive(group.name) == 0
                                                                                                                                                                                                                                                                                                                • m19.lua, line 1162: while ( group_members_alive(M19_group.viola_attack_zombies.name) > 0) do
                                                                                                                                                                                                                                                                                                                group_show true 1 88
                                                                                                                                                                                                                                                                                                                group_show_do true
                                                                                                                                                                                                                                                                                                                  2
                                                                                                                                                                                                                                                                                                                  guardian_angel_clear_zone_pinning true
                                                                                                                                                                                                                                                                                                                    1
                                                                                                                                                                                                                                                                                                                    guardian_angel_enable_indicators true
                                                                                                                                                                                                                                                                                                                      3
                                                                                                                                                                                                                                                                                                                      guardian_angel_increment_node_progress true
                                                                                                                                                                                                                                                                                                                        28
                                                                                                                                                                                                                                                                                                                        guardian_angel_register_script_group true
                                                                                                                                                                                                                                                                                                                          53
                                                                                                                                                                                                                                                                                                                          guardian_angel_release_attack_groups true
                                                                                                                                                                                                                                                                                                                            1
                                                                                                                                                                                                                                                                                                                            guardian_angel_start_zone_pinning true
                                                                                                                                                                                                                                                                                                                              1
                                                                                                                                                                                                                                                                                                                              guardian_angel_unregister_script_group true
                                                                                                                                                                                                                                                                                                                                53