Cambios para el documento Mission Director Guide

Última modificación por Klaus Meyer el 2025/03/31 16:39

Desde la versión 32978.1
editado por Heinrich Unrau
el 2024/10/17 13:53
Cambiar el comentario: No hay comentario para esta versión
Hasta la versión 32983.1
editado por Owen Lake
el 2025/03/19 13:54
Cambiar el comentario: No hay comentario para esta versión

Resumen

Detalles

Propiedades de página
Autor del documento
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.Heinrich
1 +xwiki:XWiki.Owen
Contenido
... ... @@ -726,6 +726,8 @@
726 726  * {{code language="xml"}}table[$foo = 'bar']{{/code}}⟹ exactly the same, just a shorter notation for string keys
727 727  * {{code language="xml"}}table[foo = 'bar']{{/code}}⟹ error, 'foo' does not start with a '$'
728 728  * {{code language="xml"}}table[{1} = [], {2} = table[]] {{/code}}⟹ a table that maps 1 to an empty list and 2 to an empty table
729 +* {{code language="xml"}}table[faction.argon = 'bar']{{/code}}⟹ error, the expression faction.argon will not be resolved into a key value. Requires { } braces.
730 +* {{code language="xml"}}table[{faction.argon} = 'bar'] {{/code}}⟹ a table that maps the value faction.argon to the string 'bar'
729 729  
730 730  Just like lists, tables are stored as references, so it's possible that multiple variables reference the same table (see above).
731 731  
... ... @@ -1007,7 +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 -** (!) Pitfall: For savegame compatibility, it is recommendet that released cues are not removed, but instead emptied out and marked as deprecated, to prevent future cues with the same name leading to errors (see example below).
1012 +** (!) Pitfall: It is recommended that cues are not removed if they were previously released in public builds, to prevent future cues with the same name leading to errors (see example below). Instead they can be emptied and marked as deprecated.
1011 1011  * 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.
1012 1012  * You CANNOT change a <cue> to a <library> or vice versa.
1013 1013  * 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.)