LUA to change destination in cargo mission

All discussions & material related to Command's Lua interface

Moderators: RoryAndersonCDT, michaelm75au, angster, MOD_Command

Post Reply
orca
Posts: 545
Joined: Wed Nov 06, 2013 4:59 pm

LUA to change destination in cargo mission

Post by orca »

I am trying to create a scenario in which enemy base is first captured. Subsequently I would like to have a cargo mission to the newly captured base.

At the scenario start I can't select this base to configure the cargo mission because the base is an enemy base. Is there a LUA way to change the cargo mission destination? I think this would allow me to pick the correct cargo destination.
Thanks
Norm49
Posts: 95
Joined: Fri Jun 05, 2015 3:59 pm

Re: LUA to change destination in cargo mission

Post by Norm49 »

I don't know but maybe can can set the base to be on your side at mission start and change it with LUA after 1 sec. This will allow you to set up the mission as the base is on your side when you set it up.
Post Reply

Return to “Lua Legion”