Trevliga Spel forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Toggle off on specific value

2 posters

Go down

Toggle off on specific value Empty Toggle off on specific value

Post by jtints Mon Jan 22, 2024 11:48 pm

Hello, I am wondering if it would be possible to add a checkbox on the toggle menu that would allow the toggle to be deactivated only when the toggle off value is received.

I am working with a large project in TroikaTronix Idadora for which I am using a series of different values on the same controller for button on and offs.

Currently I am working with scripts to do this but it is a but onerous copying and pasting buttons and changing values in the script for each button. It would be simpler if the toggle would only toggle off if a specific value were received instead of the default "less than" behaviour.

jtints

Posts : 37
Join date : 2024-01-22

Back to top Go down

Toggle off on specific value Empty Re: Toggle off on specific value

Post by Admin Tue Jan 23, 2024 9:34 am

Hi,

Do you mean you want it to toggle on and off on two distinct values and ignore all other values?
Admin
Admin
Admin

Posts : 1235
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

Back to top Go down

Toggle off on specific value Empty Re: Toggle off on specific value

Post by jtints Tue Jan 23, 2024 1:39 pm

Yes, exactly. his would allow me to build banks of toggle buttons using values on a single channel. Thanks.

jtints

Posts : 37
Join date : 2024-01-22

Back to top Go down

Toggle off on specific value Empty Re: Toggle off on specific value

Post by jtints Tue Jan 23, 2024 7:26 pm

As I am in production, I am going to work by using a number of channels for now. But this would be a useful feature moving forward.

jtints

Posts : 37
Join date : 2024-01-22

Back to top Go down

Toggle off on specific value Empty Re: Toggle off on specific value

Post by Admin Sat Jan 27, 2024 11:28 am

Check beta 3.8, where this is implemented.
Admin
Admin
Admin

Posts : 1235
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

Back to top Go down

Toggle off on specific value Empty Re: Toggle off on specific value

Post by jtints Tue Jan 30, 2024 1:52 am

Amazing. Thank-you. I will definitely find this useful!

jtints

Posts : 37
Join date : 2024-01-22

Back to top Go down

Toggle off on specific value Empty Re: Toggle off on specific value

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum