Thanks for working it out. I will tell ya when I have figured out something.

Here is a snippet how to associate datastructures with entities:

Code:
// some random datastructure

typedef struct ZUZU {
char frame [128];
var speed;
var mode;
} ZUZU;

// associate datastructure

ENTITY* ent = ent_create(...);
ZUZU* dingDong = ...
ent->skill[10] = (long)((void*)dingDong); //link datastructure with skill

// retrieve datastructure

ZUZU* fooBar = (ZUZU*)(ent->skill[10]);