Changes for page Mission Director Guide
Last modified by Klaus Meyer on 2025/03/31 16:39
From version 32970.4
edited by Owen Lake
on 2023/10/10 15:49
on 2023/10/10 15:49
Change comment:
There is no comment for this version
To version 32965.1
edited by Daniel Turner
on 2023/08/24 10:24
on 2023/08/24 10:24
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. Owen1 +xwiki:XWiki.Daniel - Content
-
... ... @@ -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,25 +517,7 @@ 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"}}-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) 520 +\\{{code language="xml"}}0.0{{/code}}|Cosine (function-style, parentheses required) 539 539 |sqrt|unary|{{code language="xml"}}sqrt(2){{/code}}|{{code language="xml"}}1.414213LF{{/code}}|Square root (function-style, parentheses required) 540 540 |exp|unary|{{code language="xml"}}exp(1){{/code}}|{{code language="xml"}}2.71828LF{{/code}}|Exponential function (function-style, parentheses required) 541 541 |log|unary|{{code language="xml"}}log(8) / log(2){{/code}}|{{code language="xml"}}3.0LF{{/code}}|Natural logarithm (function-style, parentheses required) ... ... @@ -565,7 +565,7 @@ 565 565 gt 566 566 \\> (>)|binary| 567 567 {{code language="xml"}}1 gt 3{{/code}} 568 -\\{{code language="xml"}}1 >3{{/code}}|{{code language="xml"}}false{{/code}}|Greater than550 +\\{{code language="xml"}}1 < 3{{/code}}|{{code language="xml"}}false{{/code}}|Greater than 569 569 | 570 570 ge 571 571 \\>=|binary| ... ... @@ -650,7 +650,7 @@ 650 650 651 651 See also the section about [[value properties>>doc:||anchor="HValueproperties" style="outline-width: 0px !important; user-select: auto !important;"]]. 652 652 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'.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'. 654 654 \\To get a percent character in the result string, use '%%' in the format string. 655 655 \\\\\\If you need a more sophisticated method for text substitution, try **<substitute_text>**. See the XML schema documentation for this script action. 656 656 \\**[New as of X Rebirth 4.0]**