2023-11-11, 02:09
After playing around I added a SetProperty function to my keymap with the key "action".
However, with the action = cache_get("action") function it is expecting two elements returned. I can't quite figure out how to parse the SetProperty function with the correct data ['play',1] as it reads the comma as a delimiter and tries 1 as a windowId.
To get around this I just used an if statement to append the light group ID if the action list is length 1.
However, with the action = cache_get("action") function it is expecting two elements returned. I can't quite figure out how to parse the SetProperty function with the correct data ['play',1] as it reads the comma as a delimiter and tries 1 as a windowId.
To get around this I just used an if statement to append the light group ID if the action list is length 1.