1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

drop on ground what I'm holding or from backpack

Discussion in 'UOSteam' started by Alucard, Jan 12, 2018.

  1. Alucard

    Alucard Well-Known Member

    1,087
    987
    113
    Dec 29, 2013
    help with macro ... how move item by alias ?
    unsetalias 'Garbage_drop'
    pause 200
    headmsg 'Select Garbage'
    promptalias 'Garbage_drop'

    ----movetype! 'Garbage_drop' 'backpack' 'ground' 0 1 0
     
  2. Young Star

    Young Star Well-Known Member

    2,515
    2,031
    113
    Jul 6, 2015
    Bryden Rivers, YoungStar, Young Star, Tom Sevenstreams
    dont use "type" when referencing an item that has been given an alias. use moveobject 'alias'
     
  3. Young Star

    Young Star Well-Known Member

    2,515
    2,031
    113
    Jul 6, 2015
    Bryden Rivers, YoungStar, Young Star, Tom Sevenstreams
    Also make sure the tile you want to drop it on is able to have items dropped onto it, ie no walls, trees, etc.
     
  4. Alucard

    Alucard Well-Known Member

    1,087
    987
    113
    Dec 29, 2013
    moveobject 'alias'
    moveobject command not exist in UOSteam =(
    moveitem not work....

    movetypeoffset 0xeed 'backpack' 'ground' 0 1 0 0
    its work with type

    but in UOSteam is not provided, the movement of the object by alias ? =(
     
    Last edited: Jan 16, 2018
  5. Young Star

    Young Star Well-Known Member

    2,515
    2,031
    113
    Jul 6, 2015
    Bryden Rivers, YoungStar, Young Star, Tom Sevenstreams
    Sorry. This will work:

    Code:
    unsetalias 'Garbage_drop'
    
    pause 200
    
    headmsg 'Select Garbage'
    
    promptalias 'Garbage_drop'
    
    
    moveitemoffset Garbage_drop 'ground' 0 1 0
    Don't put the alias in quotes when referencing it in the moveitemoffset
     
    Alucard likes this.
  6. Alucard

    Alucard Well-Known Member

    1,087
    987
    113
    Dec 29, 2013
    thx alot man
     
  7. jixxers

    jixxers Member

    23
    0
    1
    Sep 25, 2018
    Sheeba, Thy Slave, Da Mace, Seedz, Jixxers, Pewing
    how do you make it where it does it by itself... after the first selection
     
  8. Young Star

    Young Star Well-Known Member

    2,515
    2,031
    113
    Jul 6, 2015
    Bryden Rivers, YoungStar, Young Star, Tom Sevenstreams
    Depends if it is specific items or if it can be all items of the same type. If you take one item from a stack and get the graphic ID it will still pull one item from a stack if you want. Or you can drop the whole stack depends what you set it to do. For example I have this one made to drop bandaids behind me no matter which direction i am facing. you just need to swap in the graphic ID in the first line. If you want it to drop the whole stack you can delete the last 1 in each of the moveitemoffset lines. If you want it to find any item no matter if it is nested in another bag, take off the 0 at the end of the first line. Currently it is set to only look for the item in your main backpack and drop just 1.

    Code:
    if findtype 0xe21 any backpack any 0
      setalias 'drop' found
      if direction == 4
        moveitemoffset drop 'ground' 0 -1 0 1
      elseif direction == 5
        moveitemoffset drop 'ground' 1 -1 0 1
      elseif direction == 6
        moveitemoffset drop 'ground' 1 0 0 1
      elseif direction == 7
        moveitemoffset drop  'ground' 1 1 0 1
      elseif direction == 0
        moveitemoffset drop 'ground' 0 1 0 1
      elseif direction == 1
        moveitemoffset drop 'ground' -1 1 0 1
      elseif direction == 2
        moveitemoffset drop 'ground' -1 0 0 1
      elseif direction == 3
        moveitemoffset drop 'ground' -1 -1 0 1
      endif
    endif
     
  9. jixxers

    jixxers Member

    23
    0
    1
    Sep 25, 2018
    Sheeba, Thy Slave, Da Mace, Seedz, Jixxers, Pewing

Share This Page