hi

I created this struct but the follow code did not work becouse my Struct did not inherit from ENTITY: I would like tho create one struct with more parameters from Entity struct.
typedef struct
{
var number;
char *node;
ENTITY* parent;
} OBJECTS;

OBJECTS* av1;
void main()
{
video_mode = 7;
video_screen = 2;
level_load("VAH.wmb");
wait(2);
av1 = ent_create("av2all.mdl", vector(-175,101,0), NULL);
av1.number = 1;
av1.pan = 180; /// donīt work /////
}

the error said " pan is not a member from OBJECTS"

What is wrong in my code?