Änderungen von Dokument Mission Director Guide

Zuletzt geändert von Klaus Meyer am 2025/03/31 16:39

Von Version 32970.11
bearbeitet von Heinrich Unrau
am 2024/10/17 12:55
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 32970.9
bearbeitet von Heinrich Unrau
am 2024/10/17 12:53
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -1007,27 +1007,7 @@
1007 1007  
1008 1008  * MD scripts and cues are identified by their names. So a script can only be refreshed if it has the same script name as before (file name is irrelevant).
1009 1009  * If there are new script files or new cue nodes (i.e. scripts/cues with new names) they are created and added properly. If you remove script files or cue nodes, the corresponding scripts/cues are removed from the game, including instances.
1010 -** If you remove a cue and then later add another cue with the same name, old save files will not know that the cue has been removed inbetween. In the following example the first cue was crea
1011 -{{code language="xml"}}<cue name="Deprecated_Test1" namespace="this">
1012 - <actions>
1013 - <set_value name="$val_1" exact="'old value'"/>
1014 - <debug_text text="$val_1"/>
1015 - </actions>
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>{{/code}}
1010 +** If you remove a cue and then later add another cue with the same name, old save files will not know that the cue has been removed inbetween.
1031 1031  * 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.
1032 1032  * You CANNOT change a <cue> to a <library> or vice versa.
1033 1033  * You CANNOT add, remove, or change the "ref" attribute of a cue. But it is possible to remove the whole cue. (If all references to a library are removed you can also remove the library itself.)