ScriptUO

Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: xwardox on August 18, 2011, 07:26:42 PM

Title: just a question
Post by: xwardox on August 18, 2011, 07:26:42 PM
would it be possible to setup one of auto attack scripts to attack the acid slugs in underworld to train archery/throwing?
Title: Re: just a question
Post by: MeWonUo on August 18, 2011, 07:33:31 PM
Sure.  Just need to add the monsters ID to the list of creatures to attack.

Be cautious though, when I trained my thrower in there, he kept falling off of the wall into the pile of slugs. heh
Title: Re: just a question
Post by: camotbik on August 18, 2011, 08:33:28 PM
Code: [Select]
set %slugs SLUG_TYPE
while #charghost = no
{
  finditem %slugs g_20
  if #findcnt > 0
  {
    set %atacked_slug #findid
    set #ltargetid %atacked_slug
    event macro 27
    wait 1
    while #findcnt > 0
    {
      wait 20
      finditem %atacked_slug g_20
    }
    ignoreitem %atacked_slug
  }
}
halt