View Single Post
  #4  
Old 01-06-2006, 12:02 AM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
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?
Reply With Quote