mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
30 lines
625 B
Plaintext
30 lines
625 B
Plaintext
/*
|
|
* Author: Ruthberg
|
|
* Updates all input fields based on the currently selected target
|
|
*
|
|
* Arguments:
|
|
* Nothing
|
|
*
|
|
* Return Value:
|
|
* Nothing
|
|
*
|
|
* Example:
|
|
* call ace_atragmx_fnc_update_target_selection
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
#define _dsp (uiNamespace getVariable "ATragMX_Display")
|
|
|
|
(_dsp displayCtrl 500) ctrlEnable true;
|
|
(_dsp displayCtrl 501) ctrlEnable true;
|
|
(_dsp displayCtrl 502) ctrlEnable true;
|
|
(_dsp displayCtrl 503) ctrlEnable true;
|
|
|
|
(_dsp displayCtrl 500 + GVAR(currentTarget)) ctrlEnable false;
|
|
|
|
ctrlSetFocus (_dsp displayCtrl 3000);
|
|
|
|
[] call FUNC(update_unit_selection);
|