sea2sky Posted January 24, 2017 Posted January 24, 2017 I'm building a dynamic mission generator where I'm trying to spawn a new helicopter unit with a specific payload. Can someone help me with a code snippet on how to define payload/pylons within a unit table? Thanks! i5-9600K@4.8GHz ★ 32Gb DDR4 ★ rtx5070ti ★ Quest Pro ★ Warthog on Virpil base
Grimes Posted January 25, 2017 Posted January 25, 2017 It is the same format that the mission file uses to define payloads. So make a new mission with the helicopter and payload you want and save it. Open the miz file up via winzip or 7zip, then load the mission file into notepad++ and have look for the helicopter. I did a quick search on my pc but I don't think I have any examples on hand at the moment. 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
sea2sky Posted January 25, 2017 Author Posted January 25, 2017 Thanks Grimes! Totally makes sense. i5-9600K@4.8GHz ★ 32Gb DDR4 ★ rtx5070ti ★ Quest Pro ★ Warthog on Virpil base
Recommended Posts