Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Page History

« Previous Version 5 Next »

FFI function IsTargetInPlayerActivePrimaryWeaponRange() change

This function used to determine the distance between the player ship and the specified target and the range of the player ship's current active primary weapon. This behavior was however unintended for the case where you controlled a drone. In this case the function should take the distance of the target to the drone and also use the weapon range of the drone weapon. See XRUIMOD-62 - Data cannot be retrieved due to an unexpected error

If you rely on the old behavior, feel free to add an issue to the bugtracker or get in touch via the Forum to file a feature request.

Lua function GetLocalMousePosition() change

This function used to return the position of the mouse cursor when it was clicked (for a few frames after the button was pressed) instead of the mouse-cursors current function (see: XRUIMOD-57 - Data cannot be retrieved due to an unexpected error )

Since this is quite inconsistent and doesn't fit with the function name, this was changed. The function consistently returns the current mouse-position now regardless of whether the LMB was pressed or not.

It's expected to be not a notable change by the user. Feel free to add an issue to the bugtracker or get in touch via the Forum, if this change breaks any of your current use cases.