Profile image

Funky tree help for your little friend

2,664 Random04  3.4 years ago

I have a smol problem and its is that when you select a target and you have an auto aim turret, when you shoot the target it just dies right
And you know in simpleplanes when the target selected dies it disappears and the turret have no target to lock on so it auto centers
My problem is, i don't want the rotators of the turret to auto center, i want it to stay at the last position it was before the target got shot, can someone help me with that?
I think it has something to do with the smooth function but idk how to connect it to the TargetSelectedfunction

Solved

it doesn't need funky tree, im just dumb

Just by putting TargetSelected as a damn activition group
Just that simple :)

  • Log in to leave a comment
  • Profile image
    28.3k goboygo1

    You didn't waste it, i like to help people, also, my bad i misread it. basically the same but reversed. XD

    3.4 years ago
  • Profile image
    2,664 Random04

    @goboygo1 lmao i just found out how to do it

    Simply by putting "TargetSelected" as the activation group
    So it only activates when there's a target selected
    Sry for wasting your time

    3.4 years ago
  • Profile image
    2,664 Random04

    @goboygo1 i know what that does, this won't help me, it even defeats the whole point, i don't want it to be 0 when there's no target
    Thanks for tryna help🙏👍
    I guess it's impossible without hard funky trees codes

    3.4 years ago
  • Profile image
    28.3k goboygo1

    You can make the rotators de-activate when there is no target,
    then set them to zeroWhenDeactivate = true.

    +1 3.4 years ago