Jump to content

add/remove radio item -> unit inside/outside zone


Recommended Posts

Posted (edited)

Hi,

 

I want to add a radio item, if a (client) unit is inside a zone. But when the unit is outside zone, the radio item should be removed. When the unit turn again inside the zone, it should apeare again and so on.

 

I tried various ways with the switched condition trigger and flags, but it didn't got removed anyway.

 

Any Ideas?

 

Mission attached.

PersGulf_SKC_1-4.miz

 

Edit: I get it to work with some other triggers and the radio items, but not with the inside/outside zone. 🤔

Edited by VTJG17_Fire

Hardware: Intel i5 4670K | Zalman NPS9900MAX | GeIL 16GB @1333MHz | Asrock Z97 Pro4 | Sapphire Radeon R9 380X Nitro | Samsung SSDs 840 series 120GB & 250 GB | Samsung HD204UI 2TB | be quiet! Pure Power 530W | Aerocool RS-9 Devil Red | Samsung SyncMaster SA350 24" + ASUS VE198S 19" | Saitek X52 | TrackIR 5 | Thrustmaster MFD Cougar | Speedlink Darksky LED | Razor Diamondback | Razor X-Mat Control | SoundBlaster Tactic 3D Rage ### Software: Windows 10 Pro 64Bit

[sIGPIC][/sIGPIC]

Posted

Hi, i can't test your mission now (i'm at work), but it should work with this:

 

SWITCHED CONDITION > Unit inside zone > Radio item add for group

SWITCHED CONDITION > Unit outside zone > Radio item remove for group

 

Make sure that 'Radio item add for group' and 'Radio item remove for group' have same text (copy/paste it).

Also, be careful that trigger condition is set on unit and radio item is on group - this can be confusing sometimes.

Posted

When you are able to check out my mission, you'll see, I've done this already. ^^

 

And yes, in my opiniion it should work this way. But it doesn't. 😕

Hardware: Intel i5 4670K | Zalman NPS9900MAX | GeIL 16GB @1333MHz | Asrock Z97 Pro4 | Sapphire Radeon R9 380X Nitro | Samsung SSDs 840 series 120GB & 250 GB | Samsung HD204UI 2TB | be quiet! Pure Power 530W | Aerocool RS-9 Devil Red | Samsung SyncMaster SA350 24" + ASUS VE198S 19" | Saitek X52 | TrackIR 5 | Thrustmaster MFD Cougar | Speedlink Darksky LED | Razor Diamondback | Razor X-Mat Control | SoundBlaster Tactic 3D Rage ### Software: Windows 10 Pro 64Bit

[sIGPIC][/sIGPIC]

Posted

Like the radio items. The first one (inside zone) triggers, if out of the zone, nothing happens.

Hardware: Intel i5 4670K | Zalman NPS9900MAX | GeIL 16GB @1333MHz | Asrock Z97 Pro4 | Sapphire Radeon R9 380X Nitro | Samsung SSDs 840 series 120GB & 250 GB | Samsung HD204UI 2TB | be quiet! Pure Power 530W | Aerocool RS-9 Devil Red | Samsung SyncMaster SA350 24" + ASUS VE198S 19" | Saitek X52 | TrackIR 5 | Thrustmaster MFD Cougar | Speedlink Darksky LED | Razor Diamondback | Razor X-Mat Control | SoundBlaster Tactic 3D Rage ### Software: Windows 10 Pro 64Bit

[sIGPIC][/sIGPIC]

Posted

This issue happened to me when instead of 'unit/group outside zone'  i used 'part of group outside zone' - because in this case both conditions was true...

It drive me nuts that i can test missions online, if you can't solve it i will take a look when i'm home.

Maybe you do the right thing and is a ME bug.

 

Posted

The goal is to clear the F10 radio menu for all flights, that are outside that triggerzone. That is why the radion item is triggered only by single units (of a group) inside the triggerzone and only shown for that group (of units).

Hardware: Intel i5 4670K | Zalman NPS9900MAX | GeIL 16GB @1333MHz | Asrock Z97 Pro4 | Sapphire Radeon R9 380X Nitro | Samsung SSDs 840 series 120GB & 250 GB | Samsung HD204UI 2TB | be quiet! Pure Power 530W | Aerocool RS-9 Devil Red | Samsung SyncMaster SA350 24" + ASUS VE198S 19" | Saitek X52 | TrackIR 5 | Thrustmaster MFD Cougar | Speedlink Darksky LED | Razor Diamondback | Razor X-Mat Control | SoundBlaster Tactic 3D Rage ### Software: Windows 10 Pro 64Bit

[sIGPIC][/sIGPIC]

Posted

So, i did some tests, and the main issues are:

  1. in DCS we don't have 'Radio item add/remove for unit'
  2. using SWITCHED CONDITION can cause logical conflicts - units in zone in the same time, one unit in zone, others outside, etc - very hard to separate them

What you can do:

If you need this only for your group of 4 planes/clients then use my initial suggestion:

SWITCHED CONDITION > Unit inside zone > Radio item add for group
SWITCHED CONDITION > Unit outside zone > Radio item remove for group

You must duplicate this for all 4 units, and make sure just one client is inside zone (enter zone in turns).

So, we will have 4 players outside the zone, one enter - a radio item is added for group. Same player get out zone - radio item is removed for all clients in group

See attached mission as an working example.

 

If you want something for multiple groups, or more than one unit/round in zone, then you need LUA/scripting

PersGulf_SKC_1-4-4.miz

  • Thanks 1
Posted

What's the difference to multiple units and the OR-function with the Radio item add for group, compared to single switched conditions? The triggered actions, which causes conflicts in your opinion ("using SWITCHED CONDITION can cause logical conflicts - units in zone in the same time, one unit in zone, others outside, etc - very hard to separate them") is the same with different switched conditions, or I am wrong?

Hardware: Intel i5 4670K | Zalman NPS9900MAX | GeIL 16GB @1333MHz | Asrock Z97 Pro4 | Sapphire Radeon R9 380X Nitro | Samsung SSDs 840 series 120GB & 250 GB | Samsung HD204UI 2TB | be quiet! Pure Power 530W | Aerocool RS-9 Devil Red | Samsung SyncMaster SA350 24" + ASUS VE198S 19" | Saitek X52 | TrackIR 5 | Thrustmaster MFD Cougar | Speedlink Darksky LED | Razor Diamondback | Razor X-Mat Control | SoundBlaster Tactic 3D Rage ### Software: Windows 10 Pro 64Bit

[sIGPIC][/sIGPIC]

Posted

Okay, tested it. And I just added another unit with OR-function in these two triggers, added another Add item for group and it don't work. I don't understand that logic behind these two ways of doing it but that's okay, that's why I'm not a programmer. 😅

 

Thank you very much!

Hardware: Intel i5 4670K | Zalman NPS9900MAX | GeIL 16GB @1333MHz | Asrock Z97 Pro4 | Sapphire Radeon R9 380X Nitro | Samsung SSDs 840 series 120GB & 250 GB | Samsung HD204UI 2TB | be quiet! Pure Power 530W | Aerocool RS-9 Devil Red | Samsung SyncMaster SA350 24" + ASUS VE198S 19" | Saitek X52 | TrackIR 5 | Thrustmaster MFD Cougar | Speedlink Darksky LED | Razor Diamondback | Razor X-Mat Control | SoundBlaster Tactic 3D Rage ### Software: Windows 10 Pro 64Bit

[sIGPIC][/sIGPIC]

  • Recently Browsing   0 members

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