Jump to content

Recommended Posts

Posted

Gents,

Need some help with some trigger guidance.

Here's what I have so far:  I have a training sortie with a SAM Range.  When you enter the range a menu item appears to activate SA-2.  If you leave the area and do NOT activate the SA-2 the menu item goes away.  Got that no problem.  The issue is if you DO activate the SA-2 and you leave, the "Switched Condition" still brings up the menu item for the SA-2.  

I have it set so when the SA-2 is activated the menu goes away, which it does while you are in the zone.  However if you exit and re-enter the menu item comes back even though you have no SA-2 to activate.  

Is there a way to remove the item from the menu even with a switched condition??  I don't mind just having it go away when you leave the zone, but I would like to have it disappear completely if it has been activated, so a new player doesn't think it is available.  

Any thoughts??

 

Thanks for the help!!

Intel I9-9900k, Gigabyte AORUS Ultra, 64GB G.SKILL Trident Z Royal 3200, EVGA 2080Ti, Samsung M.2 960 Pro 512, Samsung M.2 960 Pro 1TB, MCG, Vipril, TM Controls, SLAW device rudders, Obutto Revolution, Valve Index

Posted

add a flag to the trigger condition that add the menu to activate the sam: ex Flag X = false (all flag are false at dcs start if not declared true by mission editor)

then , when you active the sam for the first time you declare the sam spawn and: Flag X = true

untill Flag X dont return on false status, the menu doesnt reappear.

  • 4 months later...
Posted
On 11/15/2024 at 1:54 PM, kira_mikamy said:

add a flag to the trigger condition that add the menu to activate the sam: ex Flag X = false (all flag are false at dcs start if not declared true by mission editor)

then , when you active the sam for the first time you declare the sam spawn and: Flag X = true

untill Flag X dont return on false status, the menu doesnt reappear.

Kira, thanks for the reply!  I was able to decipher what you said and got it working.  Here is what I had to do:

on the "RADIO ITEM ADD FOR COALITION" trigger I had to add "FLAG IS FALSE - XX" under conditions

Then when the someone activates from the F10 menu I also added under ACTIONS "FLAG ON - XX"

Then I had to add another trigger that the condition is "FLAG IS TRUE - XX" and the action is "RADIO ITEM REMOVE FOR COALITION"  That seemed to work.  

 

Intel I9-9900k, Gigabyte AORUS Ultra, 64GB G.SKILL Trident Z Royal 3200, EVGA 2080Ti, Samsung M.2 960 Pro 512, Samsung M.2 960 Pro 1TB, MCG, Vipril, TM Controls, SLAW device rudders, Obutto Revolution, Valve Index

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...