Profile image

Can someone help me with my code?

2 ILik3Plan3s  28 days ago

Hello everybody,
I have the following code on a Text Label and I want it to dissapear when group 8 is deactivated but it doesnt dissapear when I switch group 8 off. It would be cool if somebody could tell me what i did wrong or can correct it. Here is the Code:

{Activate8 ? "Stores"
Weapon: {(SelectedWeapon)}

Aim-120 D: {ammo("AIM-120D")}
AIM-9 x: {ammo("AIM-9X")}
AGM-65G: {ammo("AGM-65G")}}

Thank you in advance for any help

  • Log in to leave a comment
  • Profile image
    6,831 overlord5453

    Then try this
    *<alpha={Activate8 ? "#99" : "#00"}>
    Weapon: {(SelectedWeapon)}
    AIM-120 D: {ammo("weapon name")}
    AIM-9 x ' {ammo("weapon name")}
    AGM-65G: {ammo("Weapon name")}

    Pinned 28 days ago
  • Profile image

    @overlord5453 yeah thats a shame but thanks anyway

    +1 27 days ago
  • Profile image
    6,831 overlord5453

    @ILik3Plan3s unfortunately there is no funky trees output for being locked by the enemy (atleast as far as I know). A shame considering how useful it would have been. However, there is an output for when you are locking the enemy and when the enemy is locked. They are TargetLocking and TargetLocked.

    27 days ago
  • Profile image

    @overlord5453 hi could you help me again with a problem? If yes do you know how I can make a Text label show up when an enemy has a LOCK on my plane?

    27 days ago
  • Profile image

    @overlord5453 now it works thank you

    +1 28 days ago
  • Profile image

    @overlord5453 the whole thing like the Text should not be showing when group 8 is off

    28 days ago
  • Profile image
    6,831 overlord5453

    You want the whole thing to disappear or just the first part?

    +1 28 days ago