View Single Post
Old 06-22-2021, 03:42 AM   #7
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 2,632
Default

Quote:
Originally Posted by Fergler View Post
Using something like GetTrackRecState, how do I return all the variables and not just the first one?

Similarly, how can I use SetTrackRecState without setting all the variables?
You put more variables before it:
A, B, C, D, E = functionname()

In statechunks, you always need to set all of them, if you want to change one value, so the functions work the same.
So you always need to use the get-function first, then change the value in need, then setting them again with the set-function.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Off for some time. Bugreports&Docs notes please do here:https://github.com/Ultraschall/ultra...-reaper/issues - Donate, if you wish

Last edited by Meo-Ada Mespotine; 06-22-2021 at 03:49 AM.
Meo-Ada Mespotine is offline   Reply With Quote