2015-04-06 13:51:59 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
if (!isNil ("GVAR(ATragMX_windSpeed)")) then
|
|
|
|
{
|
2015-04-07 20:44:26 +00:00
|
|
|
ctrlSetText [300, Str(Round((GVAR(ATragMX_windSpeed) select GVAR(ATragMX_currentTarget)) * 100) / 100)];
|
2015-04-06 13:51:59 +00:00
|
|
|
};
|
|
|
|
if (!isNil ("GVAR(ATragMX_windDirection)")) then
|
|
|
|
{
|
2015-04-07 20:44:26 +00:00
|
|
|
ctrlSetText [310, Str(Round((GVAR(ATragMX_windDirection) select GVAR(ATragMX_currentTarget))))];
|
2015-04-06 13:51:59 +00:00
|
|
|
};
|
|
|
|
if (!isNil ("GVAR(ATragMX_inclinationAngle)")) then
|
|
|
|
{
|
2015-04-07 20:44:26 +00:00
|
|
|
ctrlSetText [320, Str(Round((GVAR(ATragMX_inclinationAngle) select GVAR(ATragMX_currentTarget))))];
|
2015-04-06 13:51:59 +00:00
|
|
|
};
|
|
|
|
if (!isNil ("GVAR(ATragMX_targetSpeed)")) then
|
|
|
|
{
|
2015-04-07 20:44:26 +00:00
|
|
|
ctrlSetText [330, Str(Round((GVAR(ATragMX_targetSpeed) select GVAR(ATragMX_currentTarget)) * 100) / 100)];
|
2015-04-06 13:51:59 +00:00
|
|
|
};
|
|
|
|
if (!isNil ("GVAR(ATragMX_targetRange)")) then
|
|
|
|
{
|
2015-04-07 20:44:26 +00:00
|
|
|
ctrlSetText [340, Str(Round((GVAR(ATragMX_targetRange) select GVAR(ATragMX_currentTarget))))];
|
2015-04-06 13:51:59 +00:00
|
|
|
};
|