Throttle Constructor (Int32, Int32, Composite) |
Creates a 'throttle' composite. This composite limits the number of times the child
returns RunStatus.Success within a given time span. Returns Failure if limit reached,
otherwise returns result of child
Namespace:
ff14bot.Behavior
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax public Throttle(
int Limit,
int timeSeconds,
Composite child
)
Parameters
- Limit
- Type: SystemInt32
max number of occurrences - timeSeconds
- Type: SystemInt32
time span for occurrences in seconds - child
- Type: TreeSharpComposite
composite children to tick (run)
See Also