X Rebirth - UI Modding
  1. X Rebirth - UI Modding
  2. XRUIMOD-62

FFI: IsTargetInPlayerActivePrimaryWeaponRange() is incorrect when inside drones

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Important Important
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.00 Beta 2
    • Labels:

      Description

      IsTargetInPlayerActivePrimaryWeaponRange() incorrectly always takes the player ship weapon range into account rather than the primary weapon of what the player controls.

      Hence when controlling an assassination drone, the function still returns whether the specified component is in target range of the player ship's primary weapon.

      The same goes for all other drones, which do not have a primary weapon and therefore this function should always return false.

        Issue Links

          Activity

          Hide
          Stefan Hett added a comment -

          fixed

          Show
          Stefan Hett added a comment - fixed

            People

            • Assignee:
              Stefan Hett
              Reporter:
              Stefan Hett
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: