2015-04-06 13:51:59 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
if (dialog) exitWith { false };
|
2015-04-06 19:11:02 +00:00
|
|
|
if (underwater ACE_player) exitWith { false };
|
|
|
|
if (!("ACE_ATragMX" in (uniformItems ACE_player)) && !("ACE_ATragMX" in (vestItems ACE_player))) exitWith { false };
|
2015-04-06 13:51:59 +00:00
|
|
|
|
2015-04-06 19:41:07 +00:00
|
|
|
call FUNC(update_target_selection);
|
2015-04-06 13:51:59 +00:00
|
|
|
|
|
|
|
createDialog 'ATragMX_Display';
|
|
|
|
|
2015-04-06 19:41:07 +00:00
|
|
|
true call FUNC(show_main_page);
|
2015-04-06 13:51:59 +00:00
|
|
|
|
2015-04-06 19:41:07 +00:00
|
|
|
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);
|
2015-04-06 13:51:59 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
lbAdd [6000, _x select 0];
|
|
|
|
} forEach GVAR(ATragMX_gunList);
|
|
|
|
|
|
|
|
true
|