An approach would be to make the state a behaviour sub tree.
The sub-tree contains a sequencer with your action nodes, followed by your condition node, and fails on condition.This will achieve the Repetition.
On the state itself specify the Success Event parameter, use the Check Event condition to your next state. Now when your original state ends up passing the probability condition, the success event fires, and your FSM transitions.
This is how I would solve it, though there may be simpler ways.
Login
Register
By registering on this website you agree to our Privacy Policy.