|
para2para2Returns the second parameter for the distribution being used.Bool Constant: Return
Type: bool
Bool Uniform:0.0 (second
parameter doesn't exist)
Return
Type: bool
Bool Bernouilli:0.0
(second parameter doesn't exist)
Return
Type: bool
Int Constant:0.0
(second parameter doesn't exist)
Return
Type: integer
Int Uniform:0.0
(second parameter doesn't exist)
Return
Type: integer
Int Poisson:Returns number
entered in 'Max".
Return
Type: integer
Float Constant:0.0
(second parameter doesn't exist)
Return
Type: float
Float Uniform:0.0
(second parameter doesn't exist)
Return
Type: float
Float Normal:Returns number
entered in 'Max".
Return
Type: float
Float Neg. Exp.:Returns number
entered in 'SD'.
Return
Type: float
0.0
(second parameter doesn't exist)
Sample Code#get controllercontroller = GameLogic.getCurrentController()# get random actuator named act attached to the controlleractRandom = controller.actuators["act"]# get 2nd parameterparaSecond = actRandom.para2 |