Changes for page Mission Director Guide

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

From version 32970.16
edited by Heinrich Unrau
on 2024/10/17 13:01
Change comment: There is no comment for this version
To version 32970.15
edited by Heinrich Unrau
on 2024/10/17 13:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1013,10 +1013,34 @@
1013 1013   <set_value name="$val_1" exact="'old value'"/>
1014 1014   <debug_text text="$val_1"/>
1015 1015   </actions>
1016 -</cue>{{/code}}
1016 +</cue>
1017 +
1018 +<cue name="Deprecated_Test1" namespace="this">
1019 + <actions>
1020 + <set_value name="$val_2" exact="'new value'"/>
1021 + <debug_text text="$val_2"/>
1022 + </actions>
1023 + <cues>
1024 + <cue name="PrintValue">
1025 + <actions>
1026 + <debug_text text="parent.$val_2"/>
1027 + </actions>
1028 + </cue>
1029 + </cues>
1030 +</cue>
1031 +
1032 +<!-- Deprecated Cues, kept to not duplicate names in future cues -->
1033 +<cue name="Deprecated_Test1" comment="deprecated"></cue>{{/code}}
1017 1017  \\If the Cue is deleted and years later a new cue with the same name appears, the old save will consider the new cue as already completed without executing its actions. The Cue PrintValue will fail to find a variable set up in its parent.
1018 1018  {{code language="xml"}}<cue name="Deprecated_Test1" namespace="this">
1019 1019   <actions>
1037 + <set_value name="$val_1" exact="'old value'"/>
1038 + <debug_text text="$val_1"/>
1039 + </actions>
1040 +</cue>
1041 +
1042 +<cue name="Deprecated_Test1" namespace="this">
1043 + <actions>
1020 1020   <set_value name="$val_2" exact="'new value'"/>
1021 1021   <debug_text text="$val_2"/>
1022 1022   </actions>
... ... @@ -1027,8 +1027,11 @@
1027 1027   </actions>
1028 1028   </cue>
1029 1029   </cues>
1030 -</cue>{{/code}}
1031 -\\To avoid this, do not delete any cues, but empty them out and mark them as deprecated. This will preven
1054 +</cue>
1055 +
1056 +<!-- Deprecated Cues, kept to not duplicate names in future cues -->
1057 +<cue name="Deprecated_Test1" comment="deprecated"></cue>{{/code}}
1058 +To avoid this
1032 1032  {{code language="xml"}}<!-- Deprecated Cues, kept to not duplicate names in future cues -->
1033 1033  <cue name="Deprecated_Test1" comment="deprecated"></cue>{{/code}}
1034 1034  * As a consequence, you CANNOT rename scripts or cues if you want to refresh them. Doing so would remove the old script or cue and add a new one with the new name.