How do I…
set the health behavior to be equal to item[variable] of an array (a variable with a numerical value)
What is the expected result
being able to get ‘variable’ item from an array and set that as the max Hp for the health sprite behavior.
I’m trying to have max health determined by what archetype is picked, im new to gdev, and my go to for this type of thing is setting that value to be item X of a list/array/etc, I have no idea how to get that to happen when using the drop-down menu provided in the behavior and event tabs, maybe I’m blind but I couldn’t find what I needed, any insight would be lovely and greatly appreciated. ^^


