2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2015-04-11 21:40:46 +00:00
|
|
|
/*
|
|
|
|
* Author: Ruthberg
|
|
|
|
* Updates all input fields based on the currently selected unit
|
|
|
|
*
|
|
|
|
* Arguments:
|
2017-06-08 13:31:51 +00:00
|
|
|
* None
|
2015-04-11 21:40:46 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
2017-06-08 13:31:51 +00:00
|
|
|
* None
|
2015-04-11 21:40:46 +00:00
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* call ace_atragmx_fnc_update_unit_selection
|
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
2015-04-06 13:51:59 +00:00
|
|
|
|
2015-04-16 17:52:20 +00:00
|
|
|
((uiNamespace getVariable "ATragMX_Display") displayCtrl 600) ctrlEnable true;
|
|
|
|
((uiNamespace getVariable "ATragMX_Display") displayCtrl 601) ctrlEnable true;
|
|
|
|
((uiNamespace getVariable "ATragMX_Display") displayCtrl 602) ctrlEnable true;
|
2015-04-06 13:51:59 +00:00
|
|
|
|
2015-04-16 17:52:20 +00:00
|
|
|
((uiNamespace getVariable "ATragMX_Display") displayCtrl 600 + GVAR(currentUnit)) ctrlEnable false;
|
2015-04-06 13:51:59 +00:00
|
|
|
|
2015-04-06 18:46:33 +00:00
|
|
|
[] call FUNC(update_gun);
|
2015-04-17 22:11:53 +00:00
|
|
|
[] call FUNC(update_gun_ammo_data);
|
2015-04-06 18:46:33 +00:00
|
|
|
[] call FUNC(update_atmosphere);
|
2015-04-17 22:11:53 +00:00
|
|
|
[] call FUNC(update_atmo_env_data);
|
2015-04-06 18:46:33 +00:00
|
|
|
[] call FUNC(update_target);
|
2015-04-17 22:11:53 +00:00
|
|
|
[] call FUNC(update_target_data);
|
2016-11-16 15:27:56 +00:00
|
|
|
[] call FUNC(update_muzzle_velocity_data);
|
|
|
|
[] call FUNC(update_c1_ballistic_coefficient_data);
|
2015-04-17 22:11:53 +00:00
|
|
|
|
2015-04-06 18:46:33 +00:00
|
|
|
[] call FUNC(update_result);
|