Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: gregacuna on November 22, 2016, 01:11:49 PM
-
In my game right now players can choose between four different characters and the material is being saved in a global variable to be loaded on each level. It works fine when the game is started at the Choose Character level, but when I'm working on other levels characters don't have any material/texture.
I want to create a temporary FSM which checks to see if the Material is returning "None" and then load a temporary material. I was thinking the easiest thing would be to get the Material...compare the string to None and then load a default material if necessary...but I cannot figure out how to get the name of the material to compare it.
Is there a way to do that or another solution?
I might just create two separate FSM...one for production and one for building and turn them on or off, but would rather have a more elegant solution.
Thanks!
-
Hi,
Yes, it's missing. I added it to the Ecosystem:
https://twitter.com/JeanAtPlayMaker/status/802051347797442560
https://twitter.com/JeanAtPlayMaker/status/802055177138212866
Bye,
Jean
-
Thanks Jean...really appreciate that. Downloading and testing them tonight. :)