Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Baal7734 on April 10, 2018, 10:38:53 AM
-
I'm still pretty new here, so please excuse the ignorance. Is there a way to create a global set of variables of all types (bools, strings, ints) with playmaker, so that I can interact with them globally. I can use arrays for a lot of things, but making an array for every variable type would be very cumbersome for what I'm trying to accomplish.
My intention is to create a character sheet that has many different variable types (string for name, bool for gender, int for stats, ect...) and I'd like to be able to replicate this to create multiple different characters. I've looked into prefabs, but the issue I run into is, I would need to each instance to be global so that I can access said variables from multiple scenes. Any suggestions on how to go about this would be greatly appreciated :)
-
Hello, its a good question. I think maybe something like datamaker might be a good way to go. Then you can store your values in XML files. Playmaker or not, if you have tons of character stats, some type of database to manage them is good. I think there are also a few different assets on the store as well, that can handle different data types such a XML, excel, cvs, etc. (Some of them have playmaker actions).
Datamaker is however free: https://hutonggames.fogbugz.com/default.asp?W1133
-
Here is one such asset: https://www.assetstore.unity3d.com/en/?stay#!/content/11818
-
python hath spoiled me :o
-
G2U is horrible, use Easy Save and celebrate life ;D
-
Does easy save support things like xml or cvs?
-
Json and csv, not sure about xml.
-
Sweet. I guess that needs to go on my list then 8)