Thread: Arrow on npc

Results 1 to 6 of 6
  1. #1 Arrow on npc 
    Registered Member Tx-Sec's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    520
    Thanks given
    34
    Thanks received
    15
    Rep Power
    68
    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);
    Reply With Quote  
     

  2. #2  
    Member Arrow on npc Market Banned


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    35
    Posts
    12,574
    Thanks given
    199
    Thanks received
    7,106
    Rep Power
    5000
    It's the NPC index (it's position in the NPC array), not it's actual id.

    Attached imageAttached image
    Reply With Quote  
     

  3. #3  
    Registered Member Tx-Sec's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    520
    Thanks given
    34
    Thanks received
    15
    Rep Power
    68
    Quote Originally Posted by Duke Lukem View Post
    It's the NPC index (it's position in the NPC array), not it's actual id.
    Explain more?
    Reply With Quote  
     

  4. #4  
    Magnum
    Guest
    Where you spawned the npc, not the npc ID i believe.

    That would apply more to object's than anything else though.
    Reply With Quote  
     

  5. #5  
    Registered Member Tx-Sec's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    520
    Thanks given
    34
    Thanks received
    15
    Rep Power
    68
    My arrow only works in barrows .
    Reply With Quote  
     

  6. #6  
    Registered Member Tx-Sec's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    520
    Thanks given
    34
    Thanks received
    15
    Rep Power
    68
    Any help?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •