It's the NPC index (it's position in the NPC array), not it's actual id.
|
The arrow above npc head dont appear any tips?
Code:public void setMovingTarget(int type, int id) { outStream.createFrame(254); //The packet ID outStream.writeByte(type); //1=NPC, 10=Player outStream.writeWord(id); //NPC/Player ID outStream.write3Byte(0); //Junk } To make arrow appear on wise old man. setMovingTarget(1, 2567);
Where you spawned the npc, not the npc ID i believe.
That would apply more to object's than anything else though.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |