problem with setting up Variable Datato pull from an Initiation File

I followed the tutorial on here already and got the basics sorted, but this is what I’m specifically having an issue with.

What I’m trying to do is set it so that the initition file (ini) will allow values like the max health stat from the dinocharacterstatuscomponent to be edited.

The problem is, the only “set” variable I can create is a static one, which it will NOT let me compile. The values I want to edit are in under the “default values” of the static variable, and I’m not quite sure how to set it up so that each individual default value can be edited and set from the initiation file =/

this is what i mean:

For example, i pull from the true branch and go to “set” options, but the only one avaliable for “max gained per level up” is the one in the screenshot, and as that’s a static value, I can’t compile and save. There is no option for me to se a “max gained per level up : health” through the menu either-- I have to bring up the details of the “max gained per level up” variable, and expand default values in order to see health, stamina etc.

If anyone could offer advice on how I might be able to do this, I would be extremely grateful.

How exactly do you plan on running all of this logic to begin with?

Only custom events exist in the status components so are you trying to call an event within the component from outside of it?

-WM

I don’t think there is a way to modify these values from blueprint currently. You can modify the current and max status values(which are also showing the static array error when you try to modify them directly) through specific nodes but i don’t think there are nodes for max gained per level.

Oh =( okay. How would I go about modifying the nodes for current max stat values?

Uhm, – I only have a vague sort of grasp on how this works, and am trying to muddle my way through it. I should be calling on an internal component, because the values I want to modify are within the blueprint itself, but there is nothing in the “set” menu directly referencing them-- I have to put a sort of generic component down, and then when i lcik on it, the values I do want to change are in the properties of that component under “Default”

The end result i want is:

User puts Line A and value X into an ini file.

Game reads line A and knows it applies to the spawn values for creature A.

Game applies the value set from X to the spawn value for creature A.

If no values set, game takes the value from the BP as per normal.

“NPC Spawn Entires” comes up as an array, and I can pull from that to get a “make array” which then goes down to “Make NPCSpawn Entry” array.

I figured out how to pull off the NPC to spawn and set it to a dino. But what I need to set is the “npcs to spawn percentage chance” value and I can’t figure out how! When I pull from it, it just gives me another array- not a float where I could set a value.

what I managed to figure out so far:

Any ideas please? Completely lost.