sea2sky Posted October 11, 2016 Posted October 11, 2016 This script will keep creating new assault groups based on user defined 'templates' within a randomized time interval along a route of user defined 'convoy' group(s). A typical scenario for this script would be an Escort/CAS mission when a player's aircraft would be protecting/supporting a ground convoy. HOW TO USE THIS SCRIPT: - Load the script at mission start using Mission Editor DO SCRIPT FILE trigger action; - Using Mission Editor add one or more 'convoy' groups with a route (route is not required, but will make it more dynamic); - Register created 'convoy' group(s) by using DO SCRIPT trigger action calling addConvoyGroup(groupName) function. For multiple 'convoy' groups call this function multiple times; - Using Mission Editor add 'assault' group(s) with no route/waypoints, and Late Activation turned on. (The assault groups above won't participate in a mission, but will be used as templates for creating real assault groups) - Register 'assault' group(s) by using trigger DO SCRIPT action calling addAssaultGroup(groupName) function. For multiple 'assault' groups call the function multiple times. The user configurable paramteres (see the top part of the script) are tuned to the author's liking, but you are welcome to adjust them. A demo mission is attached.AssaultOnConvoy.luaescort.miz i5-9600K@4.8GHz ★ 32Gb DDR4 ★ rtx5070ti ★ Quest Pro ★ Warthog on Virpil base
Midnight Posted October 12, 2016 Posted October 12, 2016 Thanks for this, always handy for mission designers to have scripts like these in the bank. Using it now as a matter of fact. Keep them coming if you have more.
Recommended Posts