FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Control what engi stations automatically assist?

    Scheduled Pinned Locked Moved Modding & Tools
    2 Posts 2 Posters 299 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • VanificaV Offline
      Vanifica
      last edited by

      Where is the code for engineer stations' AI code stored? Can you limit or control what it prioritizes in terms of assisting (factories vs buildings vs upgrades etc)?

      Wars of Glory: FAF reimagined. Now casting (somewhat) regularly!

      Discord link in the Mod Vault description!

      1 Reply Last reply Reply Quote 0
      • JipJ Offline
        Jip
        last edited by

        The default behavior is determined by the Engine. You can try and manipulate it through Lua however. For example when OnStartRepair of the Unit class is usually called when a unit starts repairing (assisting) a factory, you can then add Lua code there to adjust the behavior.

        A work of art is never finished, merely abandoned

        1 Reply Last reply Reply Quote 0
        • First post
          Last post