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

Archery Target & Hide Macro

Discussion in 'UOSteam' started by BoPeach, May 15, 2019.

  1. BoPeach

    BoPeach Member

    8
    3
    3
    Oct 6, 2018
    This macro I used to gain the Archery Skill with hiding skill.
    It grabs the nearest grey enemy and if that enemy walks too far away or is dead you use your hiding skill.

    Code:
    getenemy 'gray' 'criminal' 'closest'
    
    while @findobject 'enemy'
    
    warmode 'on'
    
    if @inrange 'enemy' 10 and not dead 'enemy'
    
    @autotargetenemy
    
    attack 'enemy'
    
    endif
    
    if @distance 'enemy' >= 11 or dead 'enemy'
    
    @cancelautotarget
    
    while not hidden
    
    useskill 'hiding'
    
    pause 600
    
    endwhile
    
    endif
    
    endwhile
    
    if not @inrange 'enemy' 10
    
    while not hidden
    
    useskill 'hiding'
    
    pause 600
    
    endwhile
    
    endif
    
    
    
    
    If you plan on using this macro on the bard's table be aware that other players may get upset with you killing their provo / peace gains. Be aware of PKs.
     
    Last edited: May 15, 2019
  2. DrSaso

    DrSaso Well-Known Member

    245
    101
    43
    Jan 22, 2013
    You could change the enemy to monster type, I.e. rotting corpses only, so that it'll take an age to kill one with archery.... for a while at least on the board table :)
     

Share This Page