I feel like there’s some powerful mojo here, both in the question and the answer. I’ve been spending a lot of time working with storyboard and external modules and this seems very applicable to my efforts.
Am I understanding this correctly that the goal is to be able to reference the storyboard group in the module?
Brent, in your example I see that the myGroup group is passed and the putInGroup value gets set to that. I lose the example there though. How does putInGroup get utilized in the module?
Also, a question I’ve thought of looking at your example Brent. What would be the difference between these two ways of setting the LD.startListener value?:
[lua]
LD.startListener = startListener[/lua]or
[lua]
LD.startListener = startListener()
[/lua]
I’ve been using function brackets whenever I set a module table with a function and I’m wondering if I should be doing that without them the way that you have it in your sample?
Thanks [import]uid: 105707 topic_id: 35817 reply_id: 143241[/import]