Profile image

Devs, please help with new mod.

75.1k MOPCKOEDNISHE  5.9 years ago

Hello!
I am creating a new mod with hovers and i have a little problem: the controls from player aircraft are transferred to controls AI aircraft. See the gifs:

I tried to find a solution. You can see this solution in this part of code:

"upr" mean control, this is Russian translit:)

The control of player is transmitted to hover if the distance from hover to main cockpit less then distance, which i set in block attribute.

This solution is work, but when my craft locate very close to AI craft, the controls still transferred to AI hover-block.

How to solve this problem?

  • Log in to leave a comment
  • Profile image

    Yea @randomusername

    +1 5.9 years ago
  • Profile image
    3,761 stig27

    JK ok idk how to fix it

    5.9 years ago
  • Profile image
    3,761 stig27

    Let it be that way XD
    At least give me the link to that version (android of course), it would be great to mess around with AI planes.

    5.9 years ago
  • Profile image

    @HellFireKoder @AndrewGarrison @NathanMikeska

    5.9 years ago