Jump to content

Recommended Posts

Posted (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 by toutenglisse
Posted

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. 

  • Like 1

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...