Änderungen von Dokument Mission Director Guide

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

Von Version 32965.1
bearbeitet von Daniel Turner
am 2023/08/24 10:24
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 32970.4
bearbeitet von Owen Lake
am 2023/10/10 15:49
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.Daniel
1 +xwiki:XWiki.Owen
Inhalt
... ... @@ -157,7 +157,7 @@
157 157  
158 158  * With //checkinterval//, you can specify a constant time interval between condition checks. The conditions will be checked regularly forever until they are met, unless the cue's state is changed explicitly by an external event.
159 159  
160 -Additionally, you can use the attribute **checktime** to set the time of the first condition check (also possible in combination with //onfail//). The //checktime// can be an expression with variables and is evaluated when the cue is enabled (when the condition checks would normally start ΓÇô for root cues that happens at game start, otherwise after the parent cue becomes active).
160 +Additionally, you can use the attribute **checktime** to set the time of the first condition check (also possible in combination with //onfail//). The //checktime// can be an expression with variables and is evaluated when the cue is enabled (when the condition checks would normally start - for root cues that happens at game start, otherwise after the parent cue becomes active).
161 161  
162 162  Examples:
163 163  
... ... @@ -326,7 +326,7 @@
326 326  </cue>
327 327  {{/code}}
328 328  
329 -The values (including default values) can be variable expressions and will be evaluated when the cue is enabled, i.e. when it starts checking the conditions. They will be available to the cue as variables, using the parameter name with a ΓÇÿ$' prefix. In the example above, the variables $foo, $bar, and $baz would be created.
329 +The values (including default values) can be variable expressions and will be evaluated when the cue is enabled, i.e. when it starts checking the conditions. They will be available to the cue as variables, using the parameter name with a '$' prefix. In the example above, the variables $foo, $bar, and $baz would be created.
330 330  
331 331  {{code language="xml"}}
332 332  <library name="Lib">
... ... @@ -517,7 +517,25 @@
517 517  {{code language="xml"}}cos(60deg){{/code}}
518 518  \\{{code language="xml"}}cos(pi){{/code}}|
519 519  {{code language="xml"}}0.5{{/code}}
520 -\\{{code language="xml"}}0.0{{/code}}|Cosine (function-style, parentheses required)
520 +\\{{code language="xml"}}-1.0{{/code}}|Cosine (function-style, parentheses required)
521 +|tan|unary|
522 +{{code language="xml"}}tan(-45deg){{/code}}
523 +\\{{code language="xml"}}tan(45deg){{/code}}|
524 +{{code language="xml"}}-1.0{{/code}}
525 +\\{{code language="xml"}}1.0{{/code}}|Tangent (function-style, parentheses required)
526 +|asin|unary|
527 +{{code language="xml"}}asin(-0.5f){{/code}}
528 +\\{{code language="xml"}}asin(1){{/code}}|
529 +{{code language="xml"}}-0.523599rad{{/code}}
530 +\\{{code language="xml"}}1.5708rad{{/code}}|Inverse sine (function-style, parentheses required)
531 +|acos|unary|
532 +{{code language="xml"}}acos(-0.5f){{/code}}
533 +\\{{code language="xml"}}acos(1.0f){{/code}}|
534 +{{code language="xml"}}2.0944rad{{/code}}
535 +\\{{code language="xml"}}0rad{{/code}}|Inverse cosine (function-style, parentheses required)
536 +|atan|unary|
537 +{{code language="xml"}}atan(1.0f){{/code}}|
538 +{{code language="xml"}}0.785398rad{{/code}}|Inverse tangent (function-style, parentheses required)
521 521  |sqrt|unary|{{code language="xml"}}sqrt(2){{/code}}|{{code language="xml"}}1.414213LF{{/code}}|Square root (function-style, parentheses required)
522 522  |exp|unary|{{code language="xml"}}exp(1){{/code}}|{{code language="xml"}}2.71828LF{{/code}}|Exponential function (function-style, parentheses required)
523 523  |log|unary|{{code language="xml"}}log(8) / log(2){{/code}}|{{code language="xml"}}3.0LF{{/code}}|Natural logarithm (function-style, parentheses required)
... ... @@ -547,7 +547,7 @@
547 547  gt
548 548  \\> (>)|binary|
549 549  {{code language="xml"}}1 gt 3{{/code}}
550 -\\{{code language="xml"}}1 < 3{{/code}}|{{code language="xml"}}false{{/code}}|Greater than
568 +\\{{code language="xml"}}1 > 3{{/code}}|{{code language="xml"}}false{{/code}}|Greater than
551 551  |
552 552  ge
553 553  \\>=|binary|
... ... @@ -632,7 +632,7 @@
632 632  
633 633  See also the section about [[value properties>>doc:||anchor="HValueproperties" style="outline-width: 0px !important; user-select: auto !important;"]].
634 634  
635 -Instead of ΓÇÿ%1 %2 %3', you can also use ΓÇÿ%s %s %s', which is also compatible with Lua string formatting in the UI system. However, this should only be used if you are sure that the order is the same in all supported languages. If you want to make translators aware that they can change the order of parameters, you should prefer '%1 %2 %3'.
653 +Instead of '%1 %2 %3', you can also use '%s %s %s', which is also compatible with Lua string formatting in the UI system. However, this should only be used if you are sure that the order is the same in all supported languages. If you want to make translators aware that they can change the order of parameters, you should prefer '%1 %2 %3'.
636 636  \\To get a percent character in the result string, use '%%' in the format string.
637 637  \\\\\\If you need a more sophisticated method for text substitution, try **<substitute_text>**. See the XML schema documentation for this script action.
638 638  \\**[New as of X Rebirth 4.0]**