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

Lua/FFI: FFI:GetRelativeAimScreenPosition() and Lua:GetUIElementScreenPosition() return inaccurate values.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Important Important
    • Resolution: Fixed
    • Affects Version/s: 3.50 - Beta 1
    • Fix Version/s: 4.31 Beta 1
    • Labels:

      Description

      The two functions take two parameters for the corresponding icon sizes of target elements: the icon on- and off-screen size.

      There were several glitches when these values were taken into account (i.e. when the target element could not be displayed entirely on screen) ultimately resulting in inaccurate return values for the on-screen value (in case of GetUIElementScreenPosition()) and the x2d/y2d values of both functions.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: