Auto triggered mission when target is out of range (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support



Message


Maromak -> Auto triggered mission when target is out of range (6/29/2014 10:48:55 AM)

Hi. I am in the middle of refreshing Ex Pitch Black where one of the events is triggered on detection of another hostile unit. The issue I am having is that in some cases the enemy unit will be detected while well out of range of the units (aircraft) assigned to strike the target(s). I have experimented with a time activation but this seems to be overruled by the triggered event activating the mission.

I can select a Long Range weapon loadout but this will significantly reduce the effectiveness of the strike. As others have mentioned previously, it would be handy to have a combined 'Unit Detected' and 'Enters Area' trigger. I would rather not set up a standing patrol as I would like to ensure that all aircraft launch their weapons at once.

Any tips?

Thanks in advance.




Dimitris -> RE: Auto triggered mission when target is out of range (8/16/2014 11:53:51 AM)

Logged.




#Grumble -> RE: Auto triggered mission when target is out of range (8/16/2014 4:29:50 PM)

hi Meromak
there is a possible "hack" that might help you here (until the feature will be added),
practically you want a trigger that is combining two other triggers with AND logic:
unit is detected AND unit enters area.

To emulate the AND logic you can use the SCORE of a SIDE as a counter to track how many of your conditions are true. The safest is to add a new SIDE for this, say "LOGIC" side, or, you can use the CIVILIAN side if you don't want the "hack" to show.
Your original conditions trigger actions to add +1 to the score of LOGIC
and your original strike action is triggered when LOGIC's points reach 2.

The events you need would look something like this:
- Event_ADF_ship_detected( condition(ADF_ship_detected), action(LOGIC+1) )
- Event_ADF_ship_enters_area( condition(ADF_ship_enters_area), action(LOGIC+1) )
- Event_ASuW_strike( condition(LOGIC=2), action(ASuW_strike) )

Since the ADF ship might also leave the area (human controlled) you want to add an event to "dearm" the trigger in this case:
- Event_ADF_ship_leaves_area( condition(ADF_ship_NOT_enters_area), action(LOGIC-1) )

Unfortunately there is no NOT-detected (contact lost) trigger, so we are unable to do the same for the detected event. The hack will not be perfect. But at least make sure to set the Event_ADF_ship_detected as not repeatable, to avoid triggering the strike by detecting the ship, then loosing contact and detecting again.
The other events should be repeatable.




Dimitris -> RE: Auto triggered mission when target is out of range (1/20/2015 7:30:12 AM)

Hi,

Is this still a problem? If yes, is it possible to post a save?

Thanks!




Maromak -> RE: Auto triggered mission when target is out of range (1/20/2015 7:40:55 AM)

Thanks Grumble. I'm planning to use what's left of my Christmas holidays to redo this scenario to include some Lua.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.609375