This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
script_syntax [2021/11/04 19:33] – justin | script_syntax [2022/01/08 11:51] – justin | ||
---|---|---|---|
Line 125: | Line 125: | ||
|Null|null| | |Null|null| | ||
- | ====Arrays==== | + | ====Array==== |
An [[array]] is simply a list of values, such as the [[entity|entities]] belonging to a [[groups|group]], | An [[array]] is simply a list of values, such as the [[entity|entities]] belonging to a [[groups|group]], | ||
^Type^Description^Example^ | ^Type^Description^Example^ | ||
Line 156: | Line 156: | ||
</ | </ | ||
Loads a random map from the " | Loads a random map from the " | ||
+ | |||
+ | ====Codex==== | ||
+ | (Coming soon) | ||
====Null==== | ====Null==== | ||
Line 258: | Line 261: | ||
</ | </ | ||
+ | ====Math Functions==== | ||
+ | ^Name^^Description^Example^ | ||
+ | |round|Rounds to the nearest whole integer.|round(16.8) will return 17| | ||
+ | |mod|Gives the remainder of a division.|mod(8, | ||
+ | |pow|Gives the result of one number raised to the power of another.|pow(2, | ||
+ | |sqrt|Gives the square root of a number.|sqrt(16) will return 4| | ||
~~NOTOC~~ | ~~NOTOC~~ |