I can't get it to work.
I just created this very basic npc and it doesn't work.
NPC Code:
//#CLIENTSIDE
// Graal2002 NPC by Stefan Knorr
if (created) {
// Initialize the attributes
showcharacter;
setcharprop #3,head0.png;
setcharprop #C0,white;
setcharprop #C1,white;
setcharprop #C2,white;
setcharprop #C3,white;
setcharprop #C4,white;
setcharprop #2,shield1.gif;
shieldpower = 1;
dir = 2;
}
if(playertouchsme) {
showani(201,x+4,y,6,"idle");
findimg(201).actor.colors[0] = "black";
}
The ani gets shown but the colours are the npc's. Any ideas?