1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

Script AI Manager and trailers

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by N0ke, Jun 1, 2023.

  1. N0ke

    N0ke
    Expand Collapse

    Joined:
    May 23, 2023
    Messages:
    8
    Hey, so I'm having an issue with Script AI Manager and trailers.

    For example, I have a truck that has a trailer attached to it, everything else works fine, but very often it doesn't pick up the trailer.. It "tries" to, but then just drives off :D

    Is there any way to fix this? I didn't find anyone else having this issue..

    Thanks!
     
  2. Gamergull

    Gamergull
    Expand Collapse
    BeamNG Team

    Joined:
    Jun 3, 2018
    Messages:
    460
    Hi, thanks for describing the issue. Sorry for the late reply.

    Are you starting the script with the trailer already attached, or before? ScriptAI has no or little support for a lot of the vehicle inputs (such as pressing T to attach). If it's already attached, and restarting the script fails to reattach the trailer, then this might be a bug for us to look into.

    If you're willing to go for something more advanced, you can use the Flowgraph Editor to chain this logic together (in the main Editor > Window > Gameplay > Flowgraph Editor).
     
  3. N0ke

    N0ke
    Expand Collapse

    Joined:
    May 23, 2023
    Messages:
    8
    I've tried both already, I figured out that the vehicle I had most issues with was a modded one, but the vanilla vehicles do the same also, just not that often.

    I'll look into the Flowgraph Editor, cheers! :)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice