Breaking Changes
Introduction
Our goal is to keep breaking changes between any given version of X4 to an absolute minimum. In some cases, however, we have had to change things which break scripts/mods which were written for older versions.
The following table provides an overview about all breaking changes. This should help you to make any necessary changes to restore compatibility of older mods with new versions of X4.
Unknown macro: note. Click on this message for details.
Please note that issues introduced during the beta phase might not be explicitly mentioned as a breaking change, if things would only be broken in-between two beta versions. While we still aim to document any (potential) breaking change here, there might be circumstances for which we divert from that procedure (especially in case of minor issues introduced only in-between beta releases).
Breaking Changes
Type | Version | Summary |
|---|---|---|
UI extensions | 2.0 Beta 1 | GetUpgradeSlotCurrentComponent() works on non-operationals |
Before 2.0 Beta 1 using GetUpgradeSlotCurrentComponent() only performed on operational objects (i.e. not wrecked objects or objects under construction). Since this is inconsistent with the rest of the UI functions, this was considered a bug and fixed in 2.0 Beta 1. If you require the old behavior, use the FFI function: IsComponentOperational() to check the passed object's state before making the call. | ||
|
|
|