Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using an auxiliary state machine twice in another state machine, but load and run it once. #22

Open
Angelos-89 opened this issue Jun 23, 2022 · 0 comments

Comments

@Angelos-89
Copy link

Angelos-89 commented Jun 23, 2022

I am wondering if there is any modification that can be done, such that I can have two load statements in the same file but still have one instance. The design of the code is such that I need to have this same auxiliary state under two composite states.
I tried to make another implementation of rfsm.load which uses require, but it fails. I have made a post here that describes my problem. Any ideas and/or pointers?
https://stackoverflow.com/questions/72721508/avoid-loading-the-same-script-twice-with-rfsm-library-in-lua

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant