Difference between revisions of "DCS singleton net"

From DCS World Wiki - Hoggitworld.com
 
Line 17: Line 17:
 
}}
 
}}
 
[[Category:Scripting|net singleton]]
 
[[Category:Scripting|net singleton]]
[[Category:Game Patch 1.7.6|net singleton]]
+
[[Category:Game Patch 2.7.6|net singleton]]

Latest revision as of 22:50, 17 March 2022


Singleton: net Added with: 2.7.6
Description: The net singleton are a number of functions from the network API that work in the mission scripting environment. Notably for mission scripting purposes there is now a way to send chat, check if players are in Combined Arms slots, kick people from the server, and move players to certain slots.
Functions: send_chat, send_chat_to, recv_chat, get_player_list, get_my_player_id, get_server_id, get_player_info, kick, get_stat, get_name, get_slot, set_slot, force_player_slot, lua2json, json2lua, dostring_in, log, trace
Enumerators and Other Data:
Notes: