Results 1 to 3 of 3

Thread: Finding NPC with similar colors

  1. #1
    Join Date
    Feb 2013
    Location
    Waterloo, Ontario
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default Finding NPC with similar colors

    Hi guys, I want my script to be able to right click and trade a character. The problem is, there are many other characters walking around that look exactly like him (100%) and have the exact same uptext and color. However, the NPC I want to trade is located inside a house, is there anywhere to take advantage of this? I was thinking of finding 3 or 4 custom colors on the walls to triangulate the space of the house so I can locate him, but maybe there's an easier way with a function or procedure you guys know of.

    Thanks.

  2. #2
    Join Date
    Jun 2012
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    what type of thing are you trying to do. is it do a task then walk to and talk or stand in spot and continuously talk to? you can set the dimensions of where you want the color to be found. instead of using MSX1,MSY1,MSX2,MSY2 you could put your character within the house of the npc at a certain angle and set the dimensions based on the house.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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