[GameLogic Index] [GameLogic Hierarchy]
A RandomActuator is a special kind of a general actuator More...
#include <randomactuator.h>
Inherits: Actuator
A RandomActuator is a special kind of a general actuator.
Set the initial seed of the generator. Equal seeds produce equal series. If the seed is 0, the generator will produce the same value on every call.
Returns the initial seed of the generator. Equal seeds produce equal series.
Returns the first parameter of the active distribution. Refer to the documentation of the generator types for the meaning of this value.
Returns the second parameter of the active distribution. Refer to the documentation of the generator types for the meaning of this value.
Returns the type of the active distribution.
Set the property to which the random value is assigned. If the generator and property types do not match, the assignment is ignored.
Return the property to which the random value is assigned. If the generator and property types do not match, the assignment is ignored.
Set this generator to produce a constant boolean value.
Set this generator to produce true and false, each with 50% chance of occuring.
Return false value * 100% of the time.
Always return value.
Return a random integer between lower_bound and upper_bound. The boundaries are included.
Return a Poisson-distributed number. This performs a series of Bernouilli tests with parameter value. It returns the number of tries needed to achieve succes.
Always return value.
Return a random integer between lower_bound and upper_bound.
Return normal-distributed numbers. The average is mean, and the deviation from the mean is characterized by standard_deviation.
Return negative-exponentially distributed numbers. The half-life 'time' is characterized by half_life.
| Kdoc |