Changing Collective Responsibility?

All discussions & material related to Command's Lua interface

Moderators: RoryAndersonCDT, michaelm75au, angster, MOD_Command

Post Reply
User avatar
SeaQueen
Posts: 1436
Joined: Sat Apr 14, 2007 4:20 am
Location: Washington D.C.

Changing Collective Responsibility?

Post by SeaQueen »

Is there a way to change the "Collective Responsibility" for a side? I wanted to start off the scenario with something more restrictive and transition to something less restrictive. I would have thought it would have been a property of the side, but apparently it isn't. ScenEdit_SetSidePosture (sideAName,sideBName,posture) doesn't seem to have an option for it, nor does ScenEdit_SetSideOptions (options).

Am I looking in the wrong place? Forgive me I'm very slow.
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

RE: Changing Collective Responsibility?

Post by KnightHawk75 »

Is there a way to change the "Collective Responsibility" for a side?
There is not in LUA as of yet that i've noticed.
User avatar
SeaQueen
Posts: 1436
Joined: Sat Apr 14, 2007 4:20 am
Location: Washington D.C.

RE: Changing Collective Responsibility?

Post by SeaQueen »

ORIGINAL: KnightHawk75
There is not in LUA as of yet that i've noticed.

Poo...
User avatar
Randomizer
Posts: 1535
Joined: Sat Jun 28, 2008 8:31 pm

RE: Changing Collective Responsibility?

Post by Randomizer »

I'm a bit confused by your requirements here. Would not changing the side posture from "Hostile" to "Unfriendly" using a suitable trigger accomplish essentially the same thing as turning on Collective Responsibility for that side? Sorry, am just attempting to determine what effect you're looking for that cannot be served by just changing the sides' posture.

Or you could use additional sides and manage their postures with the main opponent. While CMO does not allow sides to have identical names you can actually do this in a way that is invisible to the player. CMO sides keep track of spaces so adding one or more spaces after the side name will display the same names but the sides will be separate and unique.

In the following examples change the underscores into trailing spaces and all will display as side "Soviet" to the Player.

Soviet
Soviet_
Soviet__

Using this naming convention and managing the postures between the sides should allow you to achieve the effect that you're looking for.

-C

-C
User avatar
SeaQueen
Posts: 1436
Joined: Sat Apr 14, 2007 4:20 am
Location: Washington D.C.

RE: Changing Collective Responsibility?

Post by SeaQueen »

You're right. When I actually started testing it, the desired effect was there. Typically I don't mess around with changes in posture or restrictions on ROE, mostly because I think transition to hostilities scenarios are hard to do as well as I would like, for a myriad of reasons. In this particular case it seemed to work well, however. Thanks.
Post Reply

Return to “Lua Legion”