Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: mental.breakdance on January 09, 2013, 10:52:56 PM
-
Hi,
Have recently purchased PlayMaker and wondering if it will be possible to use in a specific setup.
We're looking to have multiple asset bundles loaded in when required during runtime, each with a custom FSM on, specific in functionality to the objects within that bundle. This seems fine until it comes to the "PlayMakerGlobal" asset in the Resources folder, which would (in our scenario) only need to be "global" to the individual bundles, not the main project.
In other words, can we bundle the asset files, scope them to something less than the entire project, or is there an alternative approach that can be taken?
Thanks,
Rob
-
hi,
I am not sure it's possible, but would love to see if this is possible too.
bye,
Jean
-
This would be tricky to do right now.
You could use a PlayMakerFSM as a variable container and use Get/Set FSM Variable actions to share variables. But this is not nearly as convenient as globals...
I think what's needed is some kind of FsmVariablesComponent that can be referenced by FSMs.
I'll try to get this into the 1.5.x updates...
-
Oh that would be great if it could get implemented! Thanks Alex :)