Changes for page Breaking Changes
Last modified by Michael Baumgardt on 2026/04/17 12:03
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki.n ick1 +xwiki:XWiki.stefan - Content
-
... ... @@ -48,40 +48,3 @@ 48 48 //Before 2.0 Beta 1 a call to SetFormationShape() indicated an error state to the caller in certain cases where setting a formation shape (potentially) failed. Due to a design flaw in the handling of formations, this however doesn't do any good, since the function by itself doesn't really set the formation shape in all cases. On top of that the call can fail at random. Hence, at the moment an indication of an error case that setting a formation potentially fails is no good to the caller and he has no means to distinguish that case from a real error case.// 49 49 //Therefore, in 2.0 Beta 1 we drop the error indication in case of an attempt to set the formation fails. We are currently working on a better solution to the underlying problem and hope to have it ready as part of a following beta.// 50 50 ))) 51 -|((( 52 -Scripts 53 -)))|((( 54 -2.0 Beta 1 55 -)))|((( 56 -**<create_formation/>** now requires the attributes: 'leader' and 'follower'. Attribute 'object' is now deprecated. 57 -))) 58 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 59 -((( 60 -//This now enforces a leader and at least one follower in order to create or change a formation. Former implementation made it possible to create formations without any followers which led to issues.// 61 -))) 62 -|((( 63 -Scripts 64 -)))|((( 65 -2.0 Beta 1 66 -)))|((( 67 -**<event_player_changed_target/>** now fires and returns null if the player deselects a target. 68 -))) 69 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 70 -((( 71 -//For prior behavior, check for event.param being non-null.// 72 -))) 73 -|((( 74 -AI Scripts 75 -)))|((( 76 -2.0 Beta 1 77 -)))|((( 78 -Attribute changes to **<shoot/>** and **<shoot_at/>** 79 -))) 80 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 81 -((( 82 -Changed: Attribute "primary" is now optional and defines whether weapons from the ship's active primary weapon group will be fired. Defaults to true. 83 -New attribute: "secondary" is an optional attribute that defines whether weapons from the ship's active secondary weapon group will be fired. Defaults to true. 84 -New attribute: "missiles" is an optional attribute that defines whether only missile launchers will be used. If false, only guns will be fired. Defaults to false. 85 - 86 -//Corrects now-obsolete assumption that primary weapon groups only contain guns and secondary weapon groups only contain missile launchers.// 87 -)))
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -785779 031 +78577892 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/785779 03/Breaking Changes1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/78577892/Breaking Changes