XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 8 of 8

Thread: Pick spear from bp whos on ground, to my hand

  1. #1

    Join Date
    Jul 2016
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post Pick spear from bp whos on ground, to my hand

    Hello, i;m looking for the script who will pick some ammount royal spears, from opened ground bp, to my hand. Simply, but i rly dont know how to do it.

    Thx for all helpers

    edit:
    I;m standing on the bp, this bp is open need only script to move from THIS bp to hand, THX
    Last edited by konishyapl; 08-06-2016 at 02:58 PM.

  2. #2
    Zingron's Avatar
    Join Date
    Sep 2013
    Location
    United Kingdom
    Posts
    130
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Code:
    Module.New('SpearToEq', function(moveSpear)
    	if (Self.Weapon().id ~= 3277) then
    		Self.Equip(3277,"weapon",20)
    	end
    	moveSpear:Delay(3000)
    end)

  3. #3

    Join Date
    Jul 2016
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx u very much

  4. #4

    Join Date
    Jul 2016
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok the problem is that script putting spear into my hand only when i dont have any spears there, how to change it to put these spears even if i will have some on my hand ?
    Last edited by konishyapl; 08-08-2016 at 11:41 AM.

  5. #5

    Join Date
    Jul 2016
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Zingron View Post
    Code:
    Module.New('SpearToEq', function(moveSpear)
    	if (Self.Weapon().id ~= 3277) then
    		Self.Equip(3277,"weapon",20)
    	end
    	moveSpear:Delay(3000)
    end)
    ok the problem is that script putting spear into my hand only when i dont have any spears there, how to change it to put these spears even if i will have some on my hand ?

  6. #6
    Zingron's Avatar
    Join Date
    Sep 2013
    Location
    United Kingdom
    Posts
    130
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Code:
    Module.New('SpearToEq', function(moveSpear)
        if (Self.Weapon().id ~= 3277 or Self.Weapon().count < 4) then
            Self.Equip(3277,"weapon",(math.random(15, 20)))
        end
        moveSpear:Delay(3000)
    end)

  7. #7

    Join Date
    Jul 2016
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thx again !

  8. #8

    Join Date
    Apr 2016
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    can you add function to OpenBPoGround x,y,z ?

Tags for this Thread

Posting Permissions

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