Results 1 to 6 of 6

Thread: Target Walking NPC

  1. #1
    iBot User luesko's Avatar
    Join Date
    Jun 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Target Walking NPC

    Heyy guys im making a script were my character go up a set of stairs and the npc walks around that floor (not a huge area) but i was wonder if there was some code or command i could use to make him approach npc to as close as possible then say a few things and walk back down the set of stairs. im not sure if this can be done with the targeting? please help!

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    344 Post(s)
    Reputation
    462
    Rep Power
    10
    Try:

    PHP Code:
    reachcreature("npc name here")
    wait(2000


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  3. #3
    iBot User luesko's Avatar
    Join Date
    Jun 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Thanks will do, is there also away for me to monitor the NPC Chat window for specic lines of text?

    example
    Me: Hi
    frank: Hi.


    if XCommand(Frank:Hi) then
    blah blah else blah blah
    Last edited by luesko; 06-13-2012 at 08:34 AM.

  4. #4
    iBot User luesko's Avatar
    Join Date
    Jun 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    xD Also +Rep for this all this aswell how do i go about adding 3 values for a total ammount

    example
    Value1 = 4200
    Value2 = 4000
    Value3 = 430

    Value4 = (Value1+Value2+Value3)

  5. #5
    Normal User
    Join Date
    May 2012
    Location
    Manchester, England
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    EDIT: Nvm, XD

  6. #6
    iBot User luesko's Avatar
    Join Date
    Jun 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    bump 10letters

Posting Permissions

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