Generate Random Value (Behaviour)

Generates a random value using an input value and a max distance.

Success: When a random value is generated

Failure: When the center and distance metadata types don't match

Running: Never


Attributes

Attributes
Type
Description
lockAgentboolIf on, ensures no data on the agent is written simultaneously by nodes that have this option active.
centerdoubleCenter value
distancedoubleDistance value
useAbsoluteDistanceboolIf on, a number between (center, center + distance) is generated. If off, a number between (center - distance, center + distance) is generated
seedintThe random generator seed
useAnimatedSeedboolIf on, the simulation tick is used to offset the random generator seed
useAgentIdAsSeedboolIf on, Use the agent group is used to offset the random generator seed
blackboardKeystringThe blackboard key where the random value will be stored

Copyright © 2017, Toolchefs LTD.