Returns a random number drawn from a Normal distribution.
object expression.NormDist ([Mean], [StDev])
object expression Required. An object expression that evaluates to an object in the Applies To list.
Mean Optional Double. The mean of the distribution. Defaults to 0.
StDev Optional Double. The standard deviation of the distribution. Defaults to 1.
The following example turns a Bot object by a random angle generated from a normal distribution. The uniform distribution has a mean of 0 and a standard deviation of 10.
Bot.Turn World.Random.NormDist(0, 10)The following example uses the NormDist method for assigning a random value drawn from a Normal distribution to a CellTag.
Cell.Tags("health").Value = World.Random.NormDist(0.,2.0)