Profile image

The Turret

952 JeffersonAirraid  one month ago

And here we go again. Yes, that's me again. Week didn't passed and I got another question. Now it's about Funky Trees and Activation codes.

Here the plot twist: I want to save current code, that activates Rotator when target is in range, but at same time I want also activate it by using Activation Group. Like, it will be always active, but start aiming only when both Target in range and Activation group is activated.

Current code is:

TargetSelected & ( abs(TargetHeading-Heading)>=210 | abs(TargetHeading-Heading)<=150 ) & TargetDistance < 25000

And I want it also be "activatable" by Activation Group 1.

Another question is about Cannons. Do you know is that possible to, like, choose the order in which the cannons will fire. Cuz I want to start shooting from one certain gun, not from any random guns. Is that possible to set something in Funky Trees?

Help please.

  • Log in to leave a comment
  • Profile image
    106k Monarchii

    @JeffersonAirraid yeah! do tag when it's done if you don't mind lol, definitely worth spotlighting

    29 days ago
  • Profile image

    @Monarchii that's very helped. Also, Main battery is almost ready, now only some changes and 460mm will be done. After that I'll make 155mm and then 24 different variants of 25mm AAs (yeah, that'll be a lot of work). Anyway - thank you again, Grand Old Lady, I won't forget your help.

    +1 29 days ago
  • Profile image
    106k Monarchii

    @JeffersonAirraid glad it helped lol

    one month ago
  • Profile image

    @Monarchii thank you very much, Warspite. Your code WORKS

    +1 one month ago
  • Profile image
    106k Monarchii

    well, a relatively small pain though.

    one month ago
  • Profile image
    106k Monarchii

    in short, it's possible, it's just a pain to do.

    one month ago
  • Profile image
    106k Monarchii

    also.. yeah no, you can't choose directly which cannon will shoot first... you can however, mirror new cannons and until you find the cannon that fires where you want it to.. and don't disconnect it, just move it.

    one month ago
  • Profile image
    106k Monarchii

    I think it'll work if my memory serves me right, you just need to add the bold part into the code

    one month ago
  • Profile image
    106k Monarchii

    TargetSelected & Activate1 & ( abs(TargetHeading-Heading)>=210 | abs(TargetHeading-Heading)<=150 ) & TargetDistance < 25000

    one month ago
  • Profile image
    10.0k Yish42

    As for the cannon,you can try to experiment by firing the cannons in game and see wich one fire first to change the order

    one month ago
  • Profile image
    10.0k Yish42

    The rotator already got a activation group in it's setting,so you dont need funky tree for the activation group thing,so if your code already work,all you have to do is put it in the "input" section and choose an activation group in the rotator's setting.

    one month ago
  • Profile image

    Please help me if you know something.

    one month ago