xcom Posted September 8, 2014 Posted September 8, 2014 Hi, I hope someone knows how to achieve this. We found that adding respawning airplanes in the mission causes LAG currently. Therefore, the workaround we can think of, is having the airplanes already in the mission from start and just doing TASK - Start by trigger, obviously it would be a lot of work to do it on all the airplanes, I would like to add it in a script. I'm not familiar with the whole Tasks section of the scripting engine and would appreciate some help about it or any other ideas how to have the airplanes already in the mission from start and to have it start operating by a script. Thanks! [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook
Grimes Posted September 8, 2014 Posted September 8, 2014 Group.getByName('groupNameHere'):getController():setCommand({["id"] = "Start", ["params"] = {}, }) 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
xcom Posted September 8, 2014 Author Posted September 8, 2014 Thanks Grimes, I'll have a test tonight. [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook
xcom Posted September 9, 2014 Author Posted September 9, 2014 Works excellent. I set planes in the mission editor to Uncontrolled and then activate them with this script, it will eliminate a lot of LAG caused by respawning with many participants and units. [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook
Recommended Posts