action hairmodel()
{
ENTITY* creator = you;
while(creator != NULL)
{
proc_mode = PROC_LATE; //wait until animations done, etc
vec_set(...)//set myself to 'creator' head bone and stuff
}
}
action character()
{
ENTITY* myhair;
myhair = ent_create("chickhair.mdl",vector(my.x,my.y,my.z-32),hairmodel);
...
set(myhair,VISIBLE); //
...
}