toutenglisse Posted January 30, 2022 Posted January 30, 2022 (edited) Hi @Grimes. There's an issue in scripting wiki for "Embarking" functions. Tasks "Embarking" and "EmbarkToTransport" work (except typos : lack of last hook to close and extra space at the end of "EmbarkToTransport "), but "DisembarkFromTransport" doesn't seem to work (obsolete ?). In fact the task that does work is "Disembarking" (not documented), for Helo group controller. Example : local Embarking = { id = "Disembarking", params = { x = ClosestBase:getPoint().x, y = ClosestBase:getPoint().z, groupsForEmbarking = {CrewID}, }} AlliedPlayer:getGroup():getController():pushTask(Embarking) Edited February 5, 2022 by toutenglisse
Grimes Posted February 2, 2022 Posted February 2, 2022 It is a wiki which enables anyone to fix typos or omissions on articles. I haven't experimented much with the built in troop transport functionality when CTLD or just spawning groups works well enough on its own. Tested it briefly when it was added sort of thing. I think they might have moved the disembarking task to the transporter from the group being transported at somepoint though. Or maybe it was mixed up from the start. I would have to test both the triggered actions and the scripting functionality of it. 1 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
toutenglisse Posted February 2, 2022 Author Posted February 2, 2022 I understand, I'll try. Have a nice day.
Recommended Posts