Johnny_Rico Posted September 29, 2018 Posted September 29, 2018 https://wiki.hoggitworld.com/view/DCS_func_get_stat I cannot for the life of me work out how to use this, can anyone help me please? METAR weather for DCS World missions Guide to help out new DCS MOOSE Users -> HERE Havoc Company Dedicated server info Connect IP: 94.23.215.203 SRS enabled - freqs - Main = 243, A2A = 244, A2G = 245 Please contact me HERE if you have any server feedback or METAR issues/requests
Grimes Posted September 29, 2018 Posted September 29, 2018 It should basically just return the values for a player as shown from the scoreboard. Don't think I've ever used it, but I'd imagine you can iterate the table returned by net.get_player_list(). Goes without saying that its run from the server lua environment, so its not part of the "mission scripting" environment. Check the \DCS World\API\DCS_ControlAPI.html for more thorough documentation on that. I do need to go back and populate the wiki with more info on it, but ED has done a pretty good job documenting changes in there. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Johnny_Rico Posted September 30, 2018 Author Posted September 30, 2018 Thanks Grimes, until now I did not know there were two scripting environments, thought it as just one thing METAR weather for DCS World missions Guide to help out new DCS MOOSE Users -> HERE Havoc Company Dedicated server info Connect IP: 94.23.215.203 SRS enabled - freqs - Main = 243, A2A = 244, A2G = 245 Please contact me HERE if you have any server feedback or METAR issues/requests
Grimes Posted September 30, 2018 Posted September 30, 2018 There are multiple. mission, export, config, and server. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Recommended Posts