mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
23 lines
702 B
Plaintext
23 lines
702 B
Plaintext
#include "script_component.hpp"
|
|
|
|
if (!isNil ("GVAR(windSpeed)")) then
|
|
{
|
|
ctrlSetText [300, Str(Round((GVAR(windSpeed) select GVAR(currentTarget)) * 100) / 100)];
|
|
};
|
|
if (!isNil ("GVAR(windDirection)")) then
|
|
{
|
|
ctrlSetText [310, Str(Round((GVAR(windDirection) select GVAR(currentTarget))))];
|
|
};
|
|
if (!isNil ("GVAR(inclinationAngle)")) then
|
|
{
|
|
ctrlSetText [320, Str(Round((GVAR(inclinationAngle) select GVAR(currentTarget))))];
|
|
};
|
|
if (!isNil ("GVAR(targetSpeed)")) then
|
|
{
|
|
ctrlSetText [330, Str(Round((GVAR(targetSpeed) select GVAR(currentTarget)) * 100) / 100)];
|
|
};
|
|
if (!isNil ("GVAR(targetRange)")) then
|
|
{
|
|
ctrlSetText [340, Str(Round((GVAR(targetRange) select GVAR(currentTarget))))];
|
|
};
|