1. Animals
  2. Abilities
  3. Conditions
  4. Tool/Weapon
  5. Weapon Mods
  6. Orb
  7. Equipped
  8. Food/Medicine
  9. Furniture/Construction
  10. Color/Pattern
  11. Items
  12. Attributes
  13. Creatures
  14. Blocks
  15. Props
  16. API Types
  17. API Functions

LT_random

integer LT_random()

Gets the next random number from generator. To get a random number between 0 and N-1, use the modulus. For example, LT_random()%30 returns a random number between 0 and 29.