User Tools

Site Tools


scripting_reference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
scripting_reference [2024/03/11 11:25] justinscripting_reference [2024/03/31 08:18] justin
Line 39: Line 39:
 |substr(//string//, //start_position//, //*length//)|Returns a substring of a [[string]]. The "length" parameter can be omitted to include all characters from the start position until the end of the [[string]].| |substr(//string//, //start_position//, //*length//)|Returns a substring of a [[string]]. The "length" parameter can be omitted to include all characters from the start position until the end of the [[string]].|
 |range(//min//, //*max//, //*step//)|Returns an array of integers based on the supplied parameters. See "Range" section of [[Script Syntax]] for examples.| |range(//min//, //*max//, //*step//)|Returns an array of integers based on the supplied parameters. See "Range" section of [[Script Syntax]] for examples.|
-|inverse(//value//)|Returns the inverse of the specified value. Supported data types are [[number]], [[boolean]], [[coordinate]], [[color]], [[cardinal direction]], and [[navigation_and_interaction|navigation type]]. See "Inverse" section of [[Script Syntax]] for examples.|+|inverse(//value//)|Returns the inverse of the specified value. Supported data types are [[number]], [[boolean]], [[array]], [[coordinate]], [[color]], [[cardinal direction]], and [[navigation_and_interaction|navigation type]]. See "Inverse" section of [[Script Syntax]] for examples.|
 |duplicate(//value//)|Duplicates an [[array]] or [[codex]] to create a unique copy of the data.| |duplicate(//value//)|Duplicates an [[array]] or [[codex]] to create a unique copy of the data.|
 |clamp(//value//, //min//, //max//)|Returns a numeric value clamped to the specified range. The result will be no less than the minimum value and no more than the maximum value.| |clamp(//value//, //min//, //max//)|Returns a numeric value clamped to the specified range. The result will be no less than the minimum value and no more than the maximum value.|
scripting_reference.txt · Last modified: 2024/04/04 20:38 by justin