Changes for page Breaking Changes
Last modified by Michael Baumgardt on 2026/04/17 12:03
To version 59.1
edited by cbj
on 2020/04/27 17:58
on 2020/04/27 17:58
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -40,30 +40,8 @@ 40 40 ((( 41 41 //Old params: param = attacked object, param2 = attack method, param3 = attacked component// 42 42 //New params: param = attacked object, param2 = attack method, param3 = attack component detail list: [attacked component, attacking weapon] 43 -Note that this also means the component a ttribute to the events is no longer available, so scripts checking the attacked component need to use event.param3.{1} instead//43 +Note that this also means the component parameter to the events is no longer available, so scripts checking the attacked component need to use event.param3.{1} instead// 44 44 ))) 45 -|((( 46 -UI extensions 47 -)))|((( 48 -3.20 Beta 1 49 -)))|((( 50 -**FFI**: Deprecated the following functions: **GetContainerAllowedBuildFactions()**, **GetNumContainerAllowedBuildFactions()**, **IsContainerFactionBuildRescricted()**, **IsContainerFactionTradeRescricted()**, **SetContainerBuildAllowedFactions()**, **SetContainerFactionBuildRescricted()** 51 -))) 52 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 53 -((( 54 -//With the addition of the Trade Rule feature the given functions are considered deprecated and should not be used anymore. Consider GetAllTradeRules(), GetContainerTradeRuleID(), SetContainerTradeRule() and similar trade rule functions for replacement.// 55 -))) 56 -|((( 57 -UI extensions 58 -)))|((( 59 -3.20 Beta 1 60 -)))|((( 61 -**Lua**: **GetTradeRestrictions()**, **ToggleFactionTradeRestriction()** and **ToggleFactionTradeWareOverride()** are now obsolete! 62 -))) 63 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 64 -((( 65 -//With the addition of the Trade Rule feature the given functions are obsolete and do not function anymore. This set of functions will return dummy values to avoid breaking scripts. Use GetAllTradeRules(), GetContainerTradeRuleID(), SetContainerTradeRule() and similar trade rule functions as replacement.// 66 -))) 67 67 |(% colspan="3" %)(% colspan="3" %) 68 68 ((( 69 69 == 3.10 ==
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -91947 5611 +91947406 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/91947 561/Breaking Changes1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/91947406/Breaking Changes