From c3bc8c8e63b895c4bebdfb70d62e1e86499753f2 Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Mon, 13 Jun 2022 22:35:18 +0200 Subject: [PATCH] Updated Macro time restrictions (markdown) --- ...restrictions.md => Macro-duration-modifiers.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) rename Macro-time-restrictions.md => Macro-duration-modifiers.md (66%) diff --git a/Macro-time-restrictions.md b/Macro-duration-modifiers.md similarity index 66% rename from Macro-time-restrictions.md rename to Macro-duration-modifiers.md index 0e739e4..bc1eb01 100644 --- a/Macro-time-restrictions.md +++ b/Macro-duration-modifiers.md @@ -1,8 +1,8 @@ -Most macro conditions can optionally be expanded upon with a **time restriction**. -To add a time restriction to an existing condition click the small clock icon next to the condition type. +Most macro conditions can optionally be expanded upon with a **duration modifier**. +To add a duration modifier to an existing condition click the small clock icon next to the condition type. ![](https://obsproject.com/forum/attachments/addtimerestriction-png.78716/) -There are three types of time restrictions: +There are four types of duration modifiers: * "For at least X amount of time" will result in the condition to only return true if it was true for at least X amount of time. For example, assuming you just switched to scene "A", the following condition will return false for the first three seconds. @@ -15,8 +15,13 @@ Afterwards it will once again return false. ![](https://obsproject.com/forum/attachments/forexactly-png.78185/) * "For at most X amount of time" will result in the condition to only return true for at most X amount of time, after which it will return false. -If the condition - ignoring the time constraint - will return false the time restriction will be reset. +If the underlying condition - ignoring the duration modifier - will return false the duration modifier will be reset. For example, assuming you just switched to scene "A", the following condition will return true for the first three seconds the scene is active. After three seconds have passed and the scene is still active the condition will then return false. If you should switch to a different scene and switch back to "A" the condition will once again return true for the first three seconds of "A" being the active scene. -![](https://obsproject.com/forum/attachments/atmost-png.78191/) \ No newline at end of file +![](https://obsproject.com/forum/attachments/atmost-png.78191/) + +* "Within the last X amount of time" will result in the condition to return true for X amount of time, even after the underlying condition is false. +For example, assuming you just switched to scene "A", the following condition will return true when scene "A" is active, but also return true if you just switched away from scene "A" within the last X seconds. +![Within the last](https://user-images.githubusercontent.com/19472752/173440595-a8f41c7a-d325-4c63-9ccb-8d7b987cd8d8.PNG) +