Feature Request: "Repeat" pattern/waypoints

Intent:
… be able to specify a pattern or a group/set of waypoints that will “repeat” for a spec’d time, condition, or quantity.
.
Reason:
… I need to fly a pattern, like a simple figure 8, rectangle, polygon or spoke pattern until i manually interrupt it (mode switch), the battery/fuel gets to a certain level, or a condition i set is achieved (such as a time limit, number of repeats, offboard stimulus).
This will enable using a minimal of waypoints to achieve a single goal.
.
.
btw, is there such thing as a figure 8 pattern with only 2 waypoints?

ok. i just discovered the “jump to” waypoint that allows me to jump back to a certain waypoint. it also has a repeat quantity setting, so i can repeat this “jump” x amount of times.
.
that satisfies a major portion of what i was asking for.
.
it’d be nice if i could set battery level (or another condition) as a trigger to stop the (otherwise continual) repeat.
… maybe i could accomplish this under the “safety” failsafe settings?