Signup Now
Results 1 to 5 of 5
  1. #1
    Free User Harvey's Avatar
    Join Date
    Dec 2013
    Location
    Philippines
    Posts
    2,407
    Reputation
    15
    Rep Power
    25

    Findcreature() problem

    I noticed when the creature(NPC) is 1sqm away from the borders of the screen (cannot be seen), it still detects that it sees it, should it work that way?

  2. #2
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Yes, it should.

  3. #3
    Free User Harvey's Avatar
    Join Date
    Dec 2013
    Location
    Philippines
    Posts
    2,407
    Reputation
    15
    Rep Power
    25
    any idea how to make it findcreature + reach? its unable to reach creature since reach doesnt work that way :S

  4. #4
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Try this:

    local c = findcreature('Rashid')
    reachlocation(c.posx, c.posy, c.posz)

  5. #5
    Free User Harvey's Avatar
    Join Date
    Dec 2013
    Location
    Philippines
    Posts
    2,407
    Reputation
    15
    Rep Power
    25
    Quote Originally Posted by Raphael View Post
    Try this:

    local c = findcreature('Rashid')
    reachlocation(c.posx, c.posy, c.posz)
    thanks

 

 

Posting Permissions

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