FreelancerAlpha Posted September 28, 2020 Share Posted September 28, 2020 Hi does anyone know how I can get targets (player dynamic constructs) names and distances sent from a radar to text listed on a screen on a static construct ? ? I was trying some code that someone helped with but getting script errors for example on screen: SCI Hauler 537.27meters freelancer alpha 1.02km is this even possible I am using a command chair as I cannot get the programming board to link with the radar pvp atmospheric size M if you can help with the code that would be super appreciated thanks this is the code but I am not getting the names and distances on The screen display. local data = radar_1.getData():gmatch('"constructId":"[0-9]*","distance":[%d%.]*') for v in data do local id,distance = v:match('"constructId":"([0-9]*)","distance":([%d%.]*)') system.print(id .. " " .. distance) end ``` Link to comment Share on other sites More sharing options...
Bobylein Posted September 30, 2020 Share Posted September 30, 2020 Do the atmospheric radars even work right now? Never got to see anything with them. Link to comment Share on other sites More sharing options...
Wolfram Posted February 17, 2021 Share Posted February 17, 2021 I don't even know if you still have this issue, but well leaving here as may be useful for someone else: you can't do it with a Programming Board nor a Remote Control. You MUST use an PVP-capable controller, even a Hovercraft seat will work. Link to comment Share on other sites More sharing options...
LouHodo Posted February 18, 2021 Share Posted February 18, 2021 22 hours ago, Wolfram said: I don't even know if you still have this issue, but well leaving here as may be useful for someone else: you can't do it with a Programming Board nor a Remote Control. You MUST use an PVP-capable controller, even a Hovercraft seat will work. That answers my question of scripting an atmosphere radar to one screen and a space radar to the other so I can have them both on one ship. Wolfram 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now