Difference between revisions of "DCS singleton net"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:DCSscriptingSingleton |cName= net |vNum= 2.7.6 |desc= The net singleton are a number of functions from the network API that work in the mission scripting enviro...")
(No difference)

Revision as of 22:23, 17 September 2021


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: