schkorpio Posted May 8, 2013 Posted May 8, 2013 Hello, I'm (still) new DCS A-10 to the game, and editor, so wanted to ask the experts as I've already spent a few hours in the editor and unable to achieve what I want. I'd like to make a mission where enemy's keep spawning from say building (e.g. barracks) every 5 minutes until that building is destroyed. What would be the best way to do this? thanks! Sponsored by: http://www.ozpc.com.au
Grimes Posted May 9, 2013 Posted May 9, 2013 The scripting engine is capable of spawning new groups dynamically, and it would probably be the best way to go about such a thing. This feature was just added with the last patch, so the "easy to use" scripts aren't really created yet. You could do it with dozens upon dozens of groups in the mission set to spawn sequentially via triggers. But eventually the mission will "run out." 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
Puddlemonkey Posted May 9, 2013 Posted May 9, 2013 Hi Grimes. What functions facilitate this? I can't find anything in the wiki. Thanks PM
Grimes Posted May 9, 2013 Posted May 9, 2013 coalition.addGroup() The problem is that the group/unit names and Ids must be unique, otherwise they will replace other groups/units. Hopefully I'll be updating Mist in the next few days with a function that can make things a tad easier by generating any of the needed data to spawn a group. 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
Recommended Posts