Jump to content

Recommended Posts

Posted

hello

 

is there a way to link the "invisible" status to one unit being "alive" and another unit being within a given zone?

 

pseudocode: while unit A is "alive" AND unit B is inside zone 1, unit B state is "invisible"

 

currently, "invisible" state is set by passing a waypoint -- i do not know of a way to activate that "invisible" state for unit B beside having it pass a waypoint with that state in the Advanced Waypoint Actions

 

any advice or guidance you can suggest would be mucho appreciated - thx!

8)

i7-4790K | Asus Sabertooth Z97 MkI | 16Gb DDR3 | EVGA GTX 980 | TM Warthog | MFG Crosswind | Panasonic TC-58AX800U

 

[sIGPIC][/sIGPIC]

Posted

This might work. (I'm trying to learn the mission editor commands so not sure if it will or not).

Create units and zones of course.

Create a new trigger with conditions that Unit A is alive, Unit B inside Zone X and action to turn on Flag X.

Set advanced waypoint actions on Unit B to Invisible with the condition that Flag X is on.



Win 10 64 Pro, MSI Z390 I7-9700K @5ghz Kraken Z63, 32Gb Corsair Dominator, MSI RTX-2070, 1TB NVME 2TB SSD's, TM Warthog, Pro Rudders, OpenTrack w/ IR Clip

Posted

Instead of setting invisible (on) as an Advanced Waypoint Option, set is as a triggered action. Triggered Actions are exactly like Advanced Waypoint Options, except they are tied to triggers and not waypoints. When you've added the action put in the trigger menu:

 

Once > Unit A Alive + Unit B in Zone > AI Task Push Invisible (on)

 

If you want to turn it off, set an invisible (off) command in the triggered actions menu as well. Then:

 

Once > Unit A Dead > AI Task Push Invisible (off)

Awaiting: DCS F-15C

Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files

 

Posted

alright - will try that

 

getting late now - will attempt w/in the next couple days - thx guys

i7-4790K | Asus Sabertooth Z97 MkI | 16Gb DDR3 | EVGA GTX 980 | TM Warthog | MFG Crosswind | Panasonic TC-58AX800U

 

[sIGPIC][/sIGPIC]

  • Recently Browsing   0 members

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