Hello...
Im trying to get a addaction on holt whit a distance < 1m
This works but whit a distance <~3m
[
heli1,
"<t color='#FF0000'>TAKE OFF</t>",
"a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_takeOff1_ca.paa",
"a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_takeOff1_ca.paa",
"true",
"true",
{},
{},
{MLT_Helitakeoff = true; publicVariable "MLT_Helitakeoff";},
{},
[],
1,
nil,
true,
false
] call BIS_fnc_holdActionAdd;
if i try this:
[
heli1,
"<t color='#FF0000'>TAKE OFF</t>",
"a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_takeOff1_ca.paa",
"a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_takeOff1_ca.paa",
"_this distance _target < 1",
"_caller distance _target < 1",
{},
{},
{MLT_Helitakeoff = true; publicVariable "MLT_Helitakeoff";},
{},
[],
1,
nil,
true,
false
] call BIS_fnc_holdActionAdd;
the addaction will not show.