0099
Revision as of 12:07, 2 August 2017 by Junior Djjr (talk | contribs)
- Description
- Gets a random integer between 0 and 32767 (SA) / 65535 (III & VC) and stores the result to a variable.
- Syntax
- 0099: generate_random_int [var]
- Parameter
- [var]
- Variable to store random int value
This opcode gets a random integer between 0 and 32767 (SA) / 65535 (III & VC) and stores the result to a variable. It only returns a fixed range of "0" and "32767" / "65535". To return a custom range, use 0209 instead.
Keywords
random, random int, random number, random value