/
Generate Random Value (Behaviour)
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 |
---|---|---|
lockAgent | bool | If on, ensures no data on the agent is written simultaneously by nodes that have this option active. |
center | double | Center value |
distance | double | Distance value |
useAbsoluteDistance | bool | If on, a number between (center, center + distance) is generated. If off, a number between (center - distance, center + distance) is generated |
seed | int | The random generator seed |
useAnimatedSeed | bool | If on, the simulation tick is used to offset the random generator seed |
useAgentIdAsSeed | bool | If on, Use the agent group is used to offset the random generator seed |
blackboardKey | string | The blackboard key where the random value will be stored |
Related content
Random Selector
Random Selector
More like this
Find Random Reachable Point
Find Random Reachable Point
More like this
Set Blackboard Entry From Array
Set Blackboard Entry From Array
More like this
Random Sequence
Random Sequence
More like this
Randomize behaviour module property (AtomsUnreal)
Randomize behaviour module property (AtomsUnreal)
More like this
Probability Selector
Probability Selector
More like this
Copyright © 2017, Toolchefs LTD.