Multiple triggers for one action

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
acidtekno
Posts: 10
Joined: Thu May 14, 2015 6:50 pm
Location: Poland

Multiple triggers for one action

Post by acidtekno »

Hello

Long time lurker first time poster.

I bought CMANO on release day and I've been lovin it since (I was avid harpoon player many moons ago).
I spend 99% of my CMANO time in scenario editor trying out different concepts, tactics etc.

Here is my question:
Is there a way to create OR condition for actions? I need something like this:
"Trigger A" OR "Trigger B" OR "Triger C" THEN "Action X". Can it be done?

Cheers
Ksawery
mikmykWS
Posts: 7185
Joined: Tue Mar 22, 2005 4:34 pm

RE: Multiple triggers for one action

Post by mikmykWS »

Logic isn't programmed in yet but definitely on our list.

Mike
Jakob Wedman
Posts: 125
Joined: Wed Mar 20, 2013 6:57 pm

RE: Multiple triggers for one action

Post by Jakob Wedman »

Couldn't you do it with two Events?
ckfinite
Posts: 208
Joined: Fri Jul 19, 2013 10:33 pm

RE: Multiple triggers for one action

Post by ckfinite »

IIRC, or is the default operator for event preconditions, so if you have some number of triggers any one of those firing will fire the action. AND is what is not supported yet.
Vici Supreme
Posts: 568
Joined: Wed Dec 04, 2013 6:06 pm
Location: Southern Germany

RE: Multiple triggers for one action

Post by Vici Supreme »

Yep, OR is the current default operator for the event editor. What's missing is the AND function. By now, you shouldn't have any problems with your example event.

Supreme
thewood1
Posts: 10292
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

RE: Multiple triggers for one action

Post by thewood1 »

I also think a short LUA script combined with the events would work.
Post Reply

Return to “Command: Modern Operations series”