• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • ChanceCondition
  • ChanceCondition Class

    Condition that succeeds based on probability. More...

    Header: #include <ChanceCondition>
    Since: 1.0
    Inherits: ConditionBase

    Detailed Description

    ChanceCondition evaluates to true with a configurable probability (0-100%). Uses the "percent" parameter.

    See also ICondition and AlwaysCondition.