Changes for page Breaking Changes

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

From version 76.1
edited by stefan
on 2021/02/01 11:51
Change comment: added breaking change for GetFactionRelationStatus()
To version 79.1
edited by matthias
on 2021/02/08 09:05
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.stefan
1 +xwiki:XWiki.matthias
Content
... ... @@ -32,6 +32,24 @@
32 32  (((
33 33  == 4.00 ==
34 34  )))
35 +|(((
36 +Scripts
37 +)))|(((
38 +4.00 Beta 7
39 +)))|(((
40 +Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed
41 +)))|(((
42 +
43 +)))
44 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
45 +(((
46 +//Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects?
47 +New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits
48 +Note: param3 only exists in <event_terraforming_project_succeeded> and not in <event_terraforming_project_failed>, but both now have the booleans in a list for consistency//
49 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %)
50 +(((
51 +
52 +)))
35 35  |(% colspan="1" %)(% colspan="1" %)
36 36  (((
37 37  UI core
... ... @@ -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  //In order to keep consistency with regards to the new behvior 'hostile' relation state and the older (deprecated) UI functions, the behavior of the deprecated GetFactionRelationStatus() function was changed according to the behavior of the GetRelationStatus()/GetRelationStatus2() functions which was done in the previous beta.
51 -Factions with a relation rating between -20 and -10 will now report a relation status of 'neutral' (aka: 0) instead of 'hostile'/'enemy' (aka: 1).//
69 +Factions with a relation rating between -20 and -10 will now report a relation status of 'neutral' (aka: 1) instead of 'hostile'/'enemy' (aka: 0).//
52 52  
53 53  //If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead.
54 54  //
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -101548082
1 +101909299
url
... ... @@ -1,1 +1,1 @@
1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/101548082/Breaking Changes
1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/101909299/Breaking Changes