Difference between revisions of "0208"
Jump to navigation
Jump to search
Junior Djjr (talk | contribs) (Created page with "{{OpCode | games = {{Icon|t}} | command = GENERATE_RANDOM_FLOAT_IN_RANGE | description = Gets a random float between a custom range and stores the result into a vari...") |
Junior Djjr (talk | contribs) m |
||
Line 11: | Line 11: | ||
| p3d = Variable to store random float value | | p3d = Variable to store random float value | ||
}} | }} | ||
+ | |||
+ | This opcode gets a random float between a custom range and stores the result into a variable. | ||
== Keywords == | == Keywords == | ||
cleo, random, rand, random number, random value, range | cleo, random, rand, random number, random value, range |
Revision as of 12:07, 2 August 2017
GENERATE_RANDOM_FLOAT_IN_RANGE
- Description
- Gets a random float between a custom range and stores the result into a variable.
- Syntax
- 0208: generate_random_float_in_range [float] [float] store_to [var]
- Parameter
- [float]
- Min value
- [float]
- Max value
- [var]
- Variable to store random float value
This opcode gets a random float between a custom range and stores the result into a variable.
Keywords
cleo, random, rand, random number, random value, range