Ok, I guess I don't know how to implement this.
I'm trying to learn from
another thread but I can't seem to get it right.
so I defined my struct (I think this part is right)
typedef struct INFO {
var HEALTH;
var MAXHEALTH;
var HEALING;
var WOUNDS;
} INFO;
also defined the skill:
I assume the next step is in my entity action to set my.info to a pointer to an instance of INFO
I also want to set and retrieve the values of HEALTH, MAXHEALTH, etc
I've tried a few things but I always get errors trying to set those members.
I should probably point out that this is my first time using pointers.
My previous programming experience is with simpler languages and scripting languages.
I'm trying to learn Lite-C because those other languages don't seem to have the power I need.