[Help] Custom Patch - Logic Constraints

Post your questions here and we'll all try to help.
Post Reply
madebyxmra
Posts: 4
Joined: Sun Aug 24, 2025 05:45

[Help] Custom Patch - Logic Constraints

Post by madebyxmra »

Hey all! I'm having some issues creating some logic in my Resolume Wire patch:

I'm attempting to create a constraint where an effect / trigger can't be retriggered until the effect fully completes.

I've attempted multiple versions with logic nodes such as gates and holds, but found no success. I've gotten as far as creating the logic with a workaround using timelines (specifically the play and rewind), but I'm fairly certain this isn't the most optimal solution. Maybe someone has accomplished this before or knows a better way to do so? Any info would be greatly appreciated! :D
Attachments
Flash_Stab V2.41.wire
(18.42 KiB) Downloaded 18 times
Last edited by madebyxmra on Tue Aug 26, 2025 16:17, edited 1 time in total.

madebyxmra
Posts: 4
Joined: Sun Aug 24, 2025 05:45

Re: [Help] Custom Patch - Logic Constraints

Post by madebyxmra »

In this case, I'm making a strobe flash effect, that fades out smoothly. I was able to create this strobe flash effect, but the only way I was able to figure out how to stop the effect from being triggered again while active is running it through the timeline (using the play button, as it doesn't replay unless rewound).

This is also problematic as it logically starts from a value of 1 > 0, then jumps back to 1 when rewound. I'd like a way to have the initial value of 0, and when triggered sets the value to move from 1 > 0, staying at 0 when completed. :|

Visually the ADSR envelope would look like this.
Screenshot 2025-08-26 111904.png
Attachments
Screenshot 2025-08-26 004916.png

madebyxmra
Posts: 4
Joined: Sun Aug 24, 2025 05:45

Re: [Help] Custom Patch - Logic Constraints

Post by madebyxmra »

Sharing this example so that others may have a workaround - this effectively does what I would like it to do, albeit a bit clunky. I still believe there has to be a more optimal solution to this! :|
Timeline_Logic.wire
(8.39 KiB) Downloaded 11 times
Attachments
Timeline_Logic_Trigger.png

moldybeats
Posts: 10
Joined: Wed Jan 04, 2023 04:14

Re: [Help] Custom Patch - Logic Constraints

Post by moldybeats »

What about something like this? This uses a Toggle node that gets set to True when the trigger fires, and False when the timeline ends. The On Change node basically ignores any triggers that occur while the timeline is playing. And the If node triggers Restart if a trigger does pass, so the timeline always starts at the beginning.

Still feels like there's a simpler way to get at it, but that's the best I can do. :D
TriggerTest.wire
(7.27 KiB) Downloaded 9 times
TriggerTest.png

madebyxmra
Posts: 4
Joined: Sun Aug 24, 2025 05:45

Re: [Help] Custom Patch - Logic Constraints

Post by madebyxmra »

moldybeats wrote: Fri Aug 29, 2025 04:03 What about something like this? This uses a Toggle node that gets set to True when the trigger fires, and False when the timeline ends. The On Change node basically ignores any triggers that occur while the timeline is playing. And the If node triggers Restart if a trigger does pass, so the timeline always starts at the beginning.

Still feels like there's a simpler way to get at it, but that's the best I can do. :D

TriggerTest.wire

TriggerTest.png
Thanks for sharing and taking the time to reply - this is a good workaround. You're right though, surely there's a more optimal way to do this. I'm a hoping a dev can chime in and maybe let us know.

I'm going to leave this here for others to reference:
TriggerTest_2.wire
(13.13 KiB) Downloaded 9 times
Attachments
Screenshot 2025-08-29 132927.png

Post Reply