Infixo / Civ6-Real-Strategy

Civ6 Real Strategy mod
8 stars 1 forks source link

Use of scripted AI ops #7

Open Infixo opened 1 year ago

Infixo commented 1 year ago

[from Steam workshop] START the MAGIC HOUR 17 Jun, 2020 @ 7:29am  I suggest you can use "pPlayer:GetAi_Military():StartScriptedOperationWithTargetAndRally" in lua to launch a already defined xml Operation. So the control can be more powerful. (detail in the "mine mod", but I don't know if this is compatible with latest version.

====

@luvleswd If you will try to use this function in a normal game, then a) have to implement manual unit management to produce and assign units to this op, otherwise you will break other ongoing ops b) be disconnected from other ops, as there is no way to coordinate with normal ongoing ops. Thank you, but no.