XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 5 of 5

Thread: Self.Reach...

  1. #1
    Lifetime Subscriber L!p3's Avatar
    Join Date
    Dec 2011
    Location
    Brazil
    Posts
    157
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)

    Self.Reach...

    Dark, you could add functions like:

    Self.ReachCreature() / Self.ReachNPC()
    Self.ReachLocation()
    Self.ReachGroundItem()

    Since there's no way to do it without use a nearby sqm or following.

  2. #2
    Administrator
    Join Date
    Dec 2010
    Posts
    2,565
    Mentioned
    228 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by L!p3 View Post
    Dark, you could add functions like:

    Self.ReachCreature() / Self.ReachNPC()
    Self.ReachLocation()
    Self.ReachGroundItem()

    Since there's no way to do it without use a nearby sqm or following.
    Reaching NPCs or Creatures can be done with Creature:Follow(). Reaching location/item can be done by writing to a xbst file and loading it in, but I believe there's some functions being worked on to make this easier.

  3. #3
    Wesker's Avatar
    Join Date
    Dec 2013
    Posts
    246
    Mentioned
    26 Post(s)
    Tagged
    0 Thread(s)
    lua code:
    Creature.Follow('NPC')


    just to clear out how to use it.

  4. #4
    Administrator
    Join Date
    Dec 2010
    Posts
    2,565
    Mentioned
    228 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Wesker View Post
    lua code:
    Creature.Follow('NPC')


    just to clear out how to use it.
    @Wesker or you can do

    Code:
    Creature('NPC'):Follow()
    or

    Code:
    Creature.New('NPC'):Follow()
    or

    Code:
    local npc = Creature.New('NPC')
    npc:Follow()
    etc.

  5. #5
    Wesker's Avatar
    Join Date
    Dec 2013
    Posts
    246
    Mentioned
    26 Post(s)
    Tagged
    0 Thread(s)
    oooooooooo so thats the way to call creature i did it different LOL, enlightment op

Posting Permissions

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