Author Topic: just a question  (Read 2013 times)

0 Members and 1 Guest are viewing this topic.

Offline xwardoxTopic starter

  • Jr. Member
  • **
  • Posts: 23
  • Activity:
    0%
  • Reputation Power: 1
  • xwardox has no influence.
  • Respect: +10
  • Referrals: 0
    • View Profile
just a question
« on: August 18, 2011, 07:26:42 PM »
0
would it be possible to setup one of auto attack scripts to attack the acid slugs in underworld to train archery/throwing?

Offline MeWonUo

  • Hero Member
  • *
  • Posts: 913
  • Activity:
    0%
  • Reputation Power: 11
  • MeWonUo barely matters.MeWonUo barely matters.
  • Gender: Male
  • Respect: +85
  • Referrals: 1
    • View Profile
Re: just a question
« Reply #1 on: August 18, 2011, 07:33:31 PM »
0
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

Offline camotbik

  • Sr. Member
  • *
  • Posts: 349
  • Activity:
    0%
  • Reputation Power: 3
  • camotbik has no influence.
  • Gender: Male
  • Hello! I'm a UO addict.
  • Respect: +38
  • Referrals: 0
    • View Profile
Re: just a question
« Reply #2 on: August 18, 2011, 08:33:28 PM »
0
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
« Last Edit: August 18, 2011, 09:23:05 PM by camotbik »
What you witness -- is whatver..
uogamers hybrid.

Tags: