Changes for page Mission Director Guide

Last modified by Klaus Meyer on 2025/03/31 16:39

From version 32932.1
edited by Daniel Turner
on 2023/05/26 13:05
Change comment: There is no comment for this version
To version 32205.1
edited by Daniel Turner
on 2023/05/09 17:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -6,10 +6,20 @@
6 6  
7 7  {{{The general MD scripting system is the same in XR and X4, so this guide applies to both games. However, each game has its own set of supported script features (i.e. actions, conditions and properties), so in general scripts from different games are not compatible.}}}
8 8  
9 -(% id="md-scripts" %)
9 +\\
10 10  
11 +(% id="table-of-contents" %)
12 +
11 11  {{toc/}}
12 12  
15 += Table of Contents =
16 +
17 +{{{__TOC__ }}}
18 +
19 +\\
20 +
21 +(% id="md-scripts" %)
22 +
13 13  = MD scripts =
14 14  
15 15  MD scripts are not necessarily missions. An MD file can contain a part of a mission, multiple missions, or no mission at all, as the MD is used for more than just missions.
... ... @@ -44,6 +44,8 @@
44 44  
45 45  The script action <debug_text> can be used to print debug messages from within a script.\\
46 46  
57 +\\
58 +
47 47  (% id="md-script-structure" %)
48 48  
49 49  = MD script structure =
... ... @@ -94,8 +94,14 @@
94 94  
95 95  \\
96 96  
109 +
110 +
97 97  {{note body="There can be a delay between the activation and performing the actions if the &lt;delay&gt; tag is used. In this case, sub-cues will be enter the waiting state before the parent's actions are performed.<br />"/}}
98 98  
113 +
114 +
115 +\\
116 +
99 99  This is how a cue node looks like:
100 100  
101 101  {{code language="xml"}}
... ... @@ -370,6 +370,8 @@
370 370  
371 371  \\
372 372  
391 + 
392 +
373 373  (% id="instantiation" %)
374 374  
375 375  = Instantiation =