Changes for page Mission Director Guide
Last modified by Klaus Meyer on 2025/03/31 16:39
From version 32951.1
edited by Daniel Turner
on 2023/08/22 18:57
on 2023/08/22 18:57
Change comment:
There is no comment for this version
To version 32953.1
edited by Daniel Turner
on 2023/08/22 18:58
on 2023/08/22 18:58
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,6 +1,6 @@ 1 1 The Mission Director (MD) is a subsystem of the game and interprets mission scripts, which are written in an XML-based language. The Mission Director in X Rebirth and X4 is based on the MD in X3: Terran Conflict, with some major changes based on feedback from MD users.\\ 2 2 3 -An introduction to the original MD can be found in the[[ (% &text-decoration: underline;" %)Egosoft forums>>url:http://forum.egosoft.com/viewtopic.php?t=196971]](%%). There is also a PDF guide for the X3 Mission Director, which is partially used as a template for this document.3 +An introduction to the original MD can be found in the [[Egosoft forums>>url:http://forum.egosoft.com/viewtopic.php?t=196971]]. There is also a PDF guide for the X3 Mission Director, which is partially used as a template for this document. 4 4 5 5 This document is primarily supposed to be a guide for MD users (people who use the MD to develop missions or write other MD scripts), not for MD programmers (people who work on the MD engine in C++). 6 6 ... ... @@ -1231,4 +1231,10 @@ 1231 1231 1232 1232 {{warning}}Although in general the expression "$foo == namespace.$foo" is true, there is one exception: When library parameters are evaluated in the referencing cue, variables are resolved using the parent's namespace. However, the referencing cue creates a new namespace, so the namespace keyword already points to the library, not to the parent's namespace. Example: 1233 1233 1234 -<code language="xml"><cue name="LibRef" ref="Lib"> <param name="Param1" value="$foo" /> <!-- $foo from parent namespace --> <param name="Param2" value="namespace.$foo" /> <!-- LibRef.$foo (error) --></cue></code>{{/warning}} 1234 +{{code language="xml"}} 1235 + <cue name="LibRef" ref="Lib"> 1236 + <param name="Param1" value="$foo" /> <!-- $foo from parent namespace --> 1237 + <param name="Param2" value="namespace.$foo" /> <!-- LibRef.$foo (error) --> 1238 + </cue> 1239 + {{/code }} 1240 +{{/warning}}