diff --git a/addons/atragmx/functions/fnc_create_dialog.sqf b/addons/atragmx/functions/fnc_create_dialog.sqf index 9a18c0eb60..f642b101fd 100644 --- a/addons/atragmx/functions/fnc_create_dialog.sqf +++ b/addons/atragmx/functions/fnc_create_dialog.sqf @@ -4,19 +4,19 @@ if (dialog) exitWith { false }; if (underwater ACE_player) exitWith { false }; if (!("ACE_ATragMX" in (uniformItems ACE_player)) && !("ACE_ATragMX" in (vestItems ACE_player))) exitWith { false }; -call FUNC(update_target_selection); +execVM QUOTE(PATHTOF(functions\fnc_update_target_selection.sqf)); createDialog 'ATragMX_Display'; -true call FUNC(show_main_page); +true execVM QUOTE(PATHTOF(functions\fnc_show_main_page.sqf)); -false call FUNC(show_add_new_gun); -false call FUNC(show_gun_list); -false call FUNC(show_range_card); -false call FUNC(show_range_card_setup); -false call FUNC(show_target_range_assist); -false call FUNC(show_target_speed_assist); -false call FUNC(show_target_speed_assist_timer); +false execVM QUOTE(PATHTOF(functions\fnc_show_add_new_gun.sqf)); +false execVM QUOTE(PATHTOF(functions\fnc_show_gun_list.sqf)); +false execVM QUOTE(PATHTOF(functions\fnc_show_range_card.sqf)); +false execVM QUOTE(PATHTOF(functions\fnc_show_range_card_setup.sqf)); +false execVM QUOTE(PATHTOF(functions\fnc_show_target_range_assist.sqf)); +false execVM QUOTE(PATHTOF(functions\fnc_show_target_speed_assist.sqf)); +false execVM QUOTE(PATHTOF(functions\fnc_show_target_speed_assist_timer.sqf)); { lbAdd [6000, _x select 0]; diff --git a/addons/atragmx/functions/fnc_target_speed_assist_timer.sqf b/addons/atragmx/functions/fnc_target_speed_assist_timer.sqf index 57a2aad358..a79ed3d49b 100644 --- a/addons/atragmx/functions/fnc_target_speed_assist_timer.sqf +++ b/addons/atragmx/functions/fnc_target_speed_assist_timer.sqf @@ -6,8 +6,8 @@ if !(ctrlVisible 9000) then { private ["_startTime"]; - false call FUNC(show_target_speed_assist); - true call FUNC(show_target_speed_assist_timer); + false execVM QUOTE(PATHTOF(functions\fnc_show_target_speed_assist.sqf)); + true execVM QUOTE(PATHTOF(functions\fnc_show_target_speed_assist_timer.sqf)); ctrlSetFocus (_dsp displayCtrl 9002); @@ -25,6 +25,6 @@ if !(ctrlVisible 9000) then [] call FUNC(calculate_target_speed_assist); - false call FUNC(show_target_speed_assist_timer); - true call FUNC(show_target_speed_assist); + false execVM QUOTE(PATHTOF(functions\fnc_show_target_speed_assist_timer.sqf)); + true execVM QUOTE(PATHTOF(functions\fnc_show_target_speed_assist.sqf)); }; diff --git a/addons/atragmx/functions/fnc_toggle_gun_list.sqf b/addons/atragmx/functions/fnc_toggle_gun_list.sqf index 59abdb9f63..668ee6b8aa 100644 --- a/addons/atragmx/functions/fnc_toggle_gun_list.sqf +++ b/addons/atragmx/functions/fnc_toggle_gun_list.sqf @@ -4,16 +4,16 @@ if (ctrlVisible 6000) then { - false call FUNC(show_gun_list); - true call FUNC(show_main_page); + false execVM QUOTE(PATHTOF(functions\fnc_show_gun_list.sqf)); + true execVM QUOTE(PATHTOF(functions\fnc_show_main_page.sqf)); if (_this) then { (lbCurSel 6000) call FUNC(change_gun); }; } else { - false call FUNC(show_main_page); - true call FUNC(show_gun_list); + false execVM QUOTE(PATHTOF(functions\fnc_show_main_page.sqf)); + true execVM QUOTE(PATHTOF(functions\fnc_show_gun_list.sqf)); ctrlSetFocus (_dsp displayCtrl 6002); diff --git a/addons/atragmx/functions/fnc_toggle_range_card.sqf b/addons/atragmx/functions/fnc_toggle_range_card.sqf index 74ca96a2d6..71c81678bc 100644 --- a/addons/atragmx/functions/fnc_toggle_range_card.sqf +++ b/addons/atragmx/functions/fnc_toggle_range_card.sqf @@ -4,12 +4,12 @@ if (ctrlVisible 5006) then { - false call FUNC(show_range_card); - true call FUNC(show_main_page); + false execVM QUOTE(PATHTOF(functions\fnc_show_range_card.sqf)); + true execVM QUOTE(PATHTOF(functions\fnc_show_main_page.sqf)); } else { - false call FUNC(show_main_page); - true call FUNC(show_range_card); + false execVM QUOTE(PATHTOF(functions\fnc_show_main_page.sqf)); + true execVM QUOTE(PATHTOF(functions\fnc_show_range_card.sqf)); ctrlSetFocus (_dsp displayCtrl 5001); diff --git a/addons/atragmx/functions/fnc_toggle_range_card_setup.sqf b/addons/atragmx/functions/fnc_toggle_range_card_setup.sqf index e205bc3771..fce50a22a7 100644 --- a/addons/atragmx/functions/fnc_toggle_range_card_setup.sqf +++ b/addons/atragmx/functions/fnc_toggle_range_card_setup.sqf @@ -4,8 +4,8 @@ if (ctrlVisible 10000) then { - false call FUNC(show_range_card_setup); - true call FUNC(show_range_card); + false execVM QUOTE(PATHTOF(functions\fnc_show_range_card_setup.sqf)); + true execVM QUOTE(PATHTOF(functions\fnc_show_range_card.sqf)); if (_this == 1) then { @@ -18,8 +18,8 @@ if (ctrlVisible 10000) then }; } else { - false call FUNC(show_range_card); - true call FUNC(show_range_card_setup); + false execVM QUOTE(PATHTOF(functions\fnc_show_range_card.sqf)); + true execVM QUOTE(PATHTOF(functions\fnc_show_range_card_setup.sqf)); ctrlSetFocus (_dsp displayCtrl 10006); diff --git a/addons/atragmx/functions/fnc_toggle_target_range_assist.sqf b/addons/atragmx/functions/fnc_toggle_target_range_assist.sqf index 2b92c36a74..88e780ff43 100644 --- a/addons/atragmx/functions/fnc_toggle_target_range_assist.sqf +++ b/addons/atragmx/functions/fnc_toggle_target_range_assist.sqf @@ -4,8 +4,8 @@ if (ctrlVisible 7000) then { - false call FUNC(show_target_range_assist); - true call FUNC(show_main_page); + false execVM QUOTE(PATHTOF(functions\fnc_show_target_range_assist.sqf)); + true execVM QUOTE(PATHTOF(functions\fnc_show_main_page.sqf)); if (_this == 1) then { @@ -14,8 +14,8 @@ if (ctrlVisible 7000) then }; } else { - false call FUNC(show_main_page); - true call FUNC(show_target_range_assist); + false execVM QUOTE(PATHTOF(functions\fnc_show_main_page.sqf)); + true execVM QUOTE(PATHTOF(functions\fnc_show_target_range_assist.sqf)); ctrlSetFocus (_dsp displayCtrl 7018); diff --git a/addons/atragmx/functions/fnc_toggle_target_speed_assist.sqf b/addons/atragmx/functions/fnc_toggle_target_speed_assist.sqf index 5c0f06051c..18c2158805 100644 --- a/addons/atragmx/functions/fnc_toggle_target_speed_assist.sqf +++ b/addons/atragmx/functions/fnc_toggle_target_speed_assist.sqf @@ -4,8 +4,8 @@ if (ctrlVisible 8000) then { - false call FUNC(show_target_speed_assist); - true call FUNC(show_main_page); + false execVM QUOTE(PATHTOF(functions\fnc_show_target_speed_assist.sqf)); + true execVM QUOTE(PATHTOF(functions\fnc_show_main_page.sqf)); if (_this == 1) then { @@ -14,8 +14,8 @@ if (ctrlVisible 8000) then }; } else { - false call FUNC(show_main_page); - true call FUNC(show_target_speed_assist); + false execVM QUOTE(PATHTOF(functions\fnc_show_main_page.sqf)); + true execVM QUOTE(PATHTOF(functions\fnc_show_target_speed_assist.sqf)); ctrlSetFocus (_dsp displayCtrl 8012);