Random: Difference between revisions

From Onset Developer Wiki
No edit summary
28days (talk | contribs)
No edit summary
Line 1: Line 1:
{{Info|Function|Server & Client|1.0}}
{{Info|Function|Server & Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Get a pseudo-random number.}}


{{FuncSyntax|Random([, Min, Max])}}
{{FuncSyntax|Random([, Min, Max])}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParamOptional|Min|__EDIT_ME__}}
{{FuncParamOptional|Min|The minimum number.}}
{{FuncParamOptional|Max|__EDIT_ME__}}
{{FuncParamOptional|Max|The maximum number.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns the random between the range.}}


== Example ==
== Example ==
Line 15: Line 15:


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
* [[RandomFloat]]

Revision as of 13:49, 16 November 2019

Random

Type: Function
Context: Server & Client
Introduced: v1.0

Description

Get a pseudo-random number.

Syntax

Random([, Min, Max])

Parameters

  • Min (optional)
    The minimum number.
  • Max (optional)
    The maximum number.

Return Value

  • Returns the random between the range.

Example

__EDIT_ME__

See also