# Random

#### Overview

Used to generate random numbers that can be used in conjunction with exported properties and the arithmetic operator.

#### Usage

- From the Type list, choose either, integer, float, percentage, or scene units
- In the Range>Min and Max properties, define that start and end values of the range from which a random number will be generated.
- From the Generate On list, choose the condition that will cause a new random value to be generated.
- Wire the Random parameter's output to any node that accepts a numerical input.

#### Interface

**Type.** defines the type of number to be generated. Choices are integer, float, percentage, or scene units.

**Range.** sets the extents of the range from which a random value will be derived.

**Generate On**. The condition in which a new random value will be generated. Choices are:

**Start**. Generates a new random number once for each instance of the RailClone object.**Segment**. Generates a new random number for each individual segment.**X Spline Start**. Generates a new random number for each spline sub-object found in the X Spline input of the Generator.**X Spline Section**. Generates a new random number for each spline segment. For the purposes of this calculation a segment is the section of spline between two Corners or Evenly segments.**Array Y Row**. Generates a random number at the start of each new Row. Only works in conjunction with the 2D arrays - Generator A2S**Generator**. Generates a new random number per generator. Particularly useful for nesting arrays.

**Custom Seed.** if enabled, uses the seed value specified. If disabled using the global seed value defined in the
General
rollout.

**Sync Between.** Allows you to synchronise randomised objects based on several objects.

**X Splines**. Syncs random numbers between spline sub-objects.**X Sections**. Syncs random numbers between spline segment. For the purposes of this calculation a segment is the section of spline between two Corners or Evenly segments.**Array Rows**. Syncs random numbers between rows in an A2S array.**Generator**. Syncs random numbers between multiple generators.

*With/Without Sync Between X Splines*