rFSM icon indicating copy to clipboard operation
rFSM copied to clipboard

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

Open Angelos-89 opened this issue 3 years ago • 0 comments

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

Angelos-89 avatar Jun 23 '22 10:06 Angelos-89