Set Movement Style For Patrol missions Via Lua?

All discussions & material related to Command's Lua interface

Moderators: RoryAndersonCDT, michaelm75au, angster, MOD_Command

Post Reply
boogabooga
Posts: 1021
Joined: Wed Jul 18, 2018 12:05 am

Set Movement Style For Patrol missions Via Lua?

Post by boogabooga »

I'm trying to set the Movement Style (Repeatable loop vs. Random) for a Patrol mission via Lua. However, I'm not seeing a variable for that in the documentation. Am I missing it, or does it not exist?
The boogabooga doctrine for CMO: Any intentional human intervention needs to be able to completely and reliably over-ride anything that the AI is doing at any time.
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

RE: Set Movement Style For Patrol missions Via Lua?

Post by KnightHawk75 »

The param isn't available for patrol missions sadly (at least in 1146.16), would be nice if MovementStyle (or LoopType was reused and available) was added for patrol mission types.
boogabooga
Posts: 1021
Joined: Wed Jul 18, 2018 12:05 am

Re: Set Movement Style For Patrol missions Via Lua?

Post by boogabooga »

Just a friendly bump that this would still be a useful lua addition, IMHO.
The boogabooga doctrine for CMO: Any intentional human intervention needs to be able to completely and reliably over-ride anything that the AI is doing at any time.
User avatar
michaelm75au
Posts: 12463
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

Re: Set Movement Style For Patrol missions Via Lua?

Post by michaelm75au »

This has been added for the next build
Michael
boogabooga
Posts: 1021
Joined: Wed Jul 18, 2018 12:05 am

Re: Set Movement Style For Patrol missions Via Lua?

Post by boogabooga »

Thank you
The boogabooga doctrine for CMO: Any intentional human intervention needs to be able to completely and reliably over-ride anything that the AI is doing at any time.
Post Reply

Return to “Lua Legion”