0099
Jump to navigation
Jump to search
- 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