Jump to content

Mission scripting - DCS_func_get_stat does anyone have example code using this ?


Recommended Posts

Posted

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

Posted

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 ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...