- 14,472
- 27,163
Are you setting values in your arrays manually like this:
Where the 0.0 = some stat #?
I don't know if this will help, or if I can even attach a .zip file here, but if so, I quickly setup a stat system that uses a Datatable and populates everything dynamically.
It's probably not the most efficient or best way, but maybe it will help
Also, AI might be a little more complex with how things are done, but in general it's not much different.
Just unzip the file and put the entire "stats" folder in your Content folder.
Then in UE4, drag the BP_Character into your level, set the "auto possess Player" to 0 instead of disabled, hit Play.
K key to update All stats
H key to update just health
I tried to comment everything
View attachment 325838
Meant to respond to this a while ago.
Will try this on my next day off. Gave up on it out of frustration, needed a break