Add temp vars to "Sequence" and "Random" action for executed macro

This commit is contained in:
WarmUpTill
2026-03-18 10:39:12 +01:00
committed by WarmUpTill
parent f66bec8caf
commit e64f2d195e
5 changed files with 75 additions and 12 deletions

View File

@@ -34,7 +34,10 @@ public:
RUN_SEQUENCE,
SET_INDEX,
};
Action _action = Action::RUN_SEQUENCE;
Action GetAction() const { return _action; }
void SetAction(Action);
bool _restart = true;
IntVariable _resetIndex = 1;
@@ -45,6 +48,10 @@ private:
bool RunSequence();
bool SetSequenceIndex() const;
void SetupTempVars();
Action _action = Action::RUN_SEQUENCE;
static bool _registered;
static const std::string id;
};