Limen Framework 0.1 Help

LimenGlobalRandomStream Module

Subsystem Breakdown

Threading & Parallelism

Class Name

Role

FLimenGlobalRandomStreamModule

Manages the global random stream module for generating pseudo-random numbers.

Random Number Generation

Class Name

Role

ULimenGlobalRandomStreamSubsystem

Manages a global random stream for generating random numbers and fractions.

ULimenGlobalRandomStreamUtils

Provides utility functions for generating random percentages and retrieving random reachable points within a circumference.

Behavior Tree Integration

Class Name

Role

UBTDecorator_RandomChance

Generates a random value in a [0, 1] range and succeeds if the generated random value is below or equal to ChanceToSucceedBlackboardKey, failing otherwise.

UBTService_FindRandomLocation

A Behavior Tree service that finds a random location within a specified radius around an origin point and stores it in the blackboard.

Design Philosophy

The LimenGlobalRandomStream module provides a comprehensive solution for generating pseudo-random numbers, integrating seamlessly with Behavior Trees for probabilistic decision-making and spatial randomness generation.

  • Developers can use this system to add random behavior to their AI agents, such as varying movement patterns or decision-making probabilities.

  • The module can be extended by adding more utility functions in ULimenGlobalRandomStreamUtils for specific random number generation needs.

  • For Behavior Trees, developers can incorporate UBTDecorator_RandomChance and UBTService_FindRandomLocation to introduce randomness into their AI logic.

22 May 2026