User Tools

Site Tools


communityapi:ebf:random_boolean

RANDOM_BOOLEAN

Category: Behavior Tree Node
Mod Dependency: Foundation EBF

Parent class: NODE_LEAF

The node generates a randomly distributed random float between 0 and 100 and checks if it is smaller than the provided probability. If yes returns true else returns false.

It is meant to be used as a way of stopping a SEQUENCER branch from executing further nodes if the probability check fails.

Properties


Probability

communityapi/ebf/random_boolean.txt · Last modified: 2021/11/03 19:17 by minotorious

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki