mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ffaa195fe5
* Fixed headers to work with silentspike python script * Fixed rest of the files * Fixed ace-team
25 lines
588 B
Plaintext
25 lines
588 B
Plaintext
/*
|
|
* Author: Ruthberg
|
|
* Updates all input fields based on the currently selected target
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* call ace_atragmx_fnc_update_target_selection
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
{((uiNamespace getVariable "ATragMX_Display") displayCtrl _x) ctrlEnable true} forEach [500, 501, 502, 503];
|
|
|
|
((uiNamespace getVariable "ATragMX_Display") displayCtrl 500 + GVAR(currentTarget)) ctrlEnable false;
|
|
|
|
ctrlSetFocus ((uiNamespace getVariable "ATragMX_Display") displayCtrl 3000);
|
|
|
|
[] call FUNC(update_unit_selection);
|