Changes for page Breaking Changes

Last modified by Michael Baumgardt on 2026/04/17 12:03

From version 71.1
edited by stefan
on 2021/01/09 02:24
Change comment: There is no comment for this version
To version 73.1
edited by stefan
on 2021/01/09 02:45
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -40,7 +40,7 @@
40 40  4.00 Beta 5
41 41  )))|(% colspan="1" %)(% colspan="1" %)
42 42  (((
43 -**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in ranges relation range [-25 - -10] changed
43 +**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in ranges relation range [-25,-10] changed
44 44  )))|(% colspan="1" %)(% colspan="1" %)
45 45  (((
46 46  
... ... @@ -48,7 +48,7 @@
48 48  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
49 49  (((
50 50  //4.00 Beta 5// //introduces a new 'adversary' relation state. Previously objects within that relation range were categorized as 'enemy' and GetRelationStatus()/GetRelationStatus2() therefore returned 0 (enemy) for these objects.
51 -Since these objects are now visualized and therefore are distinguishable from enemies, several related changes were made for these objects to bring them more in line with how 'neutral' objects are handled (f.e. no automatic attacking of these objects by the player property anymore, no target selection when targeting the closest enemy, etc.). To reflect this, these objects are now returning 1 (neutral) as the relation status by the GetRelationStatus()/GetRelationStatus2() functions.
51 +Since these 'adversary' objects are now visualized and therefore distinguishable from enemies, several related changes were made for these objects to bring them more in line with how 'neutral' objects are handled (f.e. no automatic attacking of these objects by the player property anymore, no target selection when targeting the closest enemy, etc.). To reflect this, these objects are now returning 1 (neutral) as the relation status by the GetRelationStatus()/GetRelationStatus2() functions.
52 52  If you rely on a handling where they are treated like enemies, please use the new GetRelationStatus3() //FFI function which returns the new range for these objects: 1 (meaning 'adversary' here with following relations having been shifted up).
53 53  )))|(% colspan="1" %)(% colspan="1" %)
54 54  (((
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -100860793
1 +100860974
url
... ... @@ -1,1 +1,1 @@
1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/100860793/Breaking Changes
1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/100860974/Breaking Changes