(my post disappeared when editing this for some reason...?)
Sorry to bump my old thread but I feel insane, I can't get this stupid pick thing to work.
My old question is fixed but because this relates to picks and I'm still having issues coding additional functionality to my OP I'm just adding to this thread.
Background:
In a function that is called on startup, I create all hotkeys in a FOR loop, from 1-10, and number their ID's based on their loopindex. (This works fine)
Then, I do a function at the end that picks a hotkey based on the ID from the parameter.
This is the function. It does nothing. It picks nothing. Even with "pick all" nothing goes into its pick list.
I tried placing this function into startup, and nothing happens either. However, when I place the exact function call on a keyboard press (Q), it works perfectly. so I still must not be understanding how the F pick lists work because my function WORKS, just not WHERE I want it.
This function all used to be under the startup condition where it worked fine but when I separated it into different functions now shit's going to hell. I can't figure it out. I thought that having a function be called would start from the top of the pick list, but i guess it's some kind of problem having the function be inside of another function that manipulates the object...? But then why wouldn't it work on startup, calling the two separate functions? Why does it only work when I assign it to a keyboard key? RRRGHH.