Results 1 to 5 of 5

Thread: Use Crate

  1. #1
    Normal User JeTPsych's Avatar
    Join Date
    Mar 2012
    Posts
    84
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Use Crate

    hey guys, what's up?

    so, i'm having some trouble to make an action in my script

    there's one of those crates that gives you items inside my respawn(like rusty armor, 80 gps, 5 ham, 5 mushrooms) and i want the bot to use the crate everytime my character reaches a defined posx, posy, posz

    any ideas how to solve that? haha

    cya.
    You may say i'm a dreamer...
    but i'm not the only one


    +++REP If i helped you =)

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9

    local POSX,POSY,POSZ = 11111,22222,7 -- the crates posx,y,z

    if islocationxyz(POSX,POSY,POSZ,2) then
    useitem(toptileitem(POSX,POSY,POSZ),ground(POSX,POSY,POSZ)) wait(1000)
    end

  3. #3
    Normal User JeTPsych's Avatar
    Join Date
    Mar 2012
    Posts
    84
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    thanks, it's something like what i was looking for, i just made some changes, but it was very helpful
    You may say i'm a dreamer...
    but i'm not the only one


    +++REP If i helped you =)

  4. #4
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    or just put a use waypoint? how hard is that

  5. #5
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Quote Originally Posted by pink_panther View Post
    or just put a use waypoint? how hard is that
    Why always so FUCKING negative?

Posting Permissions

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