philstyle Posted February 24, 2021 Posted February 24, 2021 Is there any way of preventing players from team-swapping within a specified time frame - ideally WITHOUT needed a trigger for every single player slot in a mission? On YouTube: https://www.youtube.com/philstylenz Storm of War WW2 server website: https://stormofwar.net/
Grimes Posted February 24, 2021 Posted February 24, 2021 Would have to be a server side mod that uses the server API. Either use chat to say which team you wanna join or just associate it with the coalition a player selects first. Save their UCID in a table with the coalition they are allowed to join and some time information for when they last joined a slot or most recently in a given slot. Use the callback onPlayerTryChangeSlot to either allow or block the players selection within each given coalition. 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
Dangerzone Posted March 1, 2021 Posted March 1, 2021 Nothing ready for use that I know about, but as Grimes said - it should be possible to do if you're willing to do some scripting yourself. Check out "Simple Slot Blocker" mod for DCS. While it allows you to block slots based on setting a flag, (and I think also allows you to ban users too). It may give you an idea on how to implement a table and do it based on UID's for certain sides. Sorry I can't be of more help but hopefully this helps to point you to to resources that could aid your search.
Recommended Posts