This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:orx:config:syntax [2013/05/02 16:34 (13 years ago)] – iarwain | en:orx:config:syntax [2023/05/15 20:19 (2 years ago)] (current) – sausage | ||
---|---|---|---|
Line 132: | Line 132: | ||
Key2 = Var2; <= this will still be added to the ' | Key2 = Var2; <= this will still be added to the ' | ||
+ | |||
+ | ===== Command ===== | ||
+ | The Command module allows you to execute Orx functions from both the console and .ini files. Syntax for .ini files is specified in https:// | ||
Line 137: | Line 140: | ||
==== Basic types ==== | ==== Basic types ==== | ||
+ | |||
+ | Boolean values are expressed with literals '' | ||
+ | |||
+ | <code ini> | ||
Floating points (float) values are expressed using a decimal separator (' | Floating points (float) values are expressed using a decimal separator (' | ||
Line 201: | Line 208: | ||
The functions will then randomly return (1, 2, 3) or (4.0, 5.0, 6.0) for the vector one, and 1.0, 2.0 or 3.0 for the float one.\\ | The functions will then randomly return (1, 2, 3) or (4.0, 5.0, 6.0) for the vector one, and 1.0, 2.0 or 3.0 for the float one.\\ | ||
- | If the value were defined using a random separator (' | + | If the values |
Please also note that controlled randoms using lists works also with non-numerical values. | Please also note that controlled randoms using lists works also with non-numerical values. | ||