Originally Posted by
Malicious
Code:
public static int getBlockEmote(int i) {
switch(Server.npcHandler.npcs[i].npcType) {
/*case ####: THE NPC ID.
return ####;*/ THE ANIMATION
default: If the npc case isn't added, it will default return this value.
return 1000000;
}
}
You need to call the method in the combat code also.
i made it this
Code:
public static int getBlockEmote(int i) {
switch(Server.npcHandler.npcs[i].npcType) {
case 3:
return 424;
case 2:
return 424;
case 1:
return 424;
default:
return 3;
}
}
and it stil didnt work and what u mean by call the method? i added this
Code:
startAnimation(getBlockEmote(i), i);
that what u mean? thanks