Yes i have a radio but I must be doing something wrong as I now always get "error"
If i HINT STR(_data); i get ""
Am I filling the combo correct - as I am lost as to why I cannot get the selected value ?
This is my test GUI i am working on :-
terrainIntersect is using positionAGL, you're feeding it positionATL.
Try using terrainIntersectASL and use getposASL to get the object positions.
You might also try using the barrel end of the model as reference position, so you're actually checking the position where the missile will spawn, not the position of the vehicle that's shooting the missile.
_gun = YourVehicle;
_gunEnd = getText (configfile >> "CfgVehicles" >> (typeOf _gun) >> "Turrets" >> "MainTurret" >> "gunEnd");
_gunpos = ATLtoASL (_gun modeltoworld(_gun selectionposition _gunEnd));