This code doesn't seem to work, I need to show several gani's at once, each with differant heads and attributes. Am I doing something wrong?
NPC Code:
for (i=0;i<3;i++){
if (this.chars[i][0] != 0){
showani(302+i*2,this.xcen+12+20*i,this.ycen+50,2,
"ci_body-idle",this.chars[i][1],this.chars[i][6],
this.chars[i][3],this.chars[i][2],this.chars[i][5],
this.chars[i][4]);
changeimgvis(302+i,6);
showtext(303+i*2,this.xcen+12+20*i,this.ycen+100," arial",
"",this.chars[i][10]);
changeimgvis(303+i*2,6);
changeimgzoom(303+i*2,.5);
with (findimg(302+i*2)){
head = thiso.chars[i][7];
attr[1] = "";
attr[2] = "";
attr[1] = "ci_body-legs.png";
attr[2] = "ci_body-basic" @ thiso.chars[i][8] @ ".png";
}
}
}
fixed.... actor.attr, actor.head, etc.