Trigger for side posture change

Take command of air and naval assets from post-WW2 to the near future in tactical and operational scale, complete with historical and hypothetical scenarios and an integrated scenario editor.

Moderator: MOD_Command

Post Reply
User avatar
ThunderCBR
Posts: 60
Joined: Sun Mar 02, 2014 4:27 pm
Location: Sterling, VA
Contact:

Trigger for side posture change

Post by ThunderCBR »

I was looking into an event trigger for a posture change of a side and surprisingly I couldn't find it in the drop down. I could swear there was a way to have a trigger for when a side has a posture change against an opposing force.

My intent is to have a trigger activate some actions and lua scripts in the event that a nation attacks a neutral party. I don't want to have their missions such as CAPs and strikes active unless they see country X as hostile. So what I'd like to do is basically have it set so if country X goes hostile against country Y, activate missions A, B, C, etc.

Anyone have any ideas or suggestions or am I misremembereing a feature that doesn't exist? I don't know if there is a way to do this in LUA since there isn't an option to have LUA triggers.
thewood1
Posts: 10189
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

Re: Trigger for side posture change

Post by thewood1 »

I don't remember side changes being an organic part of Actions. I have always use "ScenEdit_SetUnitSide" from a lua Action within the event.

edit: Sorry...thought you were looking for an action. You want to execute missions based on a side becoming hostile, correct. So you want to detect the change in posture. I know at one time there was a sample script under lua legions sub-forum about that.

This is theone I was thinking of. I used it a few years ago.

https://www.matrixgames.com/forums/view ... e#p4544584
User avatar
ThunderCBR
Posts: 60
Joined: Sun Mar 02, 2014 4:27 pm
Location: Sterling, VA
Contact:

Re: Trigger for side posture change

Post by ThunderCBR »

thewood1 wrote: Mon Jan 13, 2025 5:19 pm I don't remember side changes being an organic part of Actions. I have always use "ScenEdit_SetUnitSide" from a lua Action within the event.

edit: Sorry...thought you were looking for an action. You want to execute missions based on a side becoming hostile, correct. So you want to detect the change in posture. I know at one time there was a sample script under lua legions sub-forum about that.

This is theone I was thinking of. I used it a few years ago.

https://www.matrixgames.com/forums/view ... e#p4544584
Gotcha! Thanks so much for the link. I'll give it a shot.
Post Reply

Return to “Command: Modern Operations series”