Search found 12 matches

by gflip
2011-11-19 17:24:02
Forum: I need script!
Topic: Loosing last target when MAing explosion pot
Replies: 5
Views: 1601

Re: Loosing last target when MAing explosion pot

Mirage wrote:if the object is destroyed, what you are doing a target?


The explosion pot is not destroyed...

It's a WarShard
by gflip
2011-11-19 00:51:56
Forum: I need script!
Topic: Loosing last target when MAing explosion pot
Replies: 5
Views: 1601

Re: Loosing last target when MAing explosion pot

ZeroDX wrote:uo.waittargetground(type,[color])


Could you post full code?
by gflip
2011-11-18 23:45:05
Forum: I need script!
Topic: Loosing last target when MAing explosion pot
Replies: 5
Views: 1601

Loosing last target when MAing explosion pot

Hi, i loosing last target when i MA (Magic Arrow) explosion pot

The script is this way:

sub maexplo()
uo.waittargettype("ExplosionPot")
uo.cast("Magic Arrow")
end sub

When i execute it, the target change from last to myself

Any one got a clue how to make not loose last target?
by gflip
2011-11-18 23:33:51
Forum: I need script!
Topic: Changing target
Replies: 7
Views: 2072

Re: Changing target

ZeroDX wrote:waittarget must be before usetype


I still get "Auto target cancelled" and lose target when i run out of mana
by gflip
2011-11-18 17:06:01
Forum: I need script!
Topic: Changing target
Replies: 7
Views: 2072

Re: Changing target

can i see full script

That's it: "usetype 'FSscroll';waittargetlast", its directly executed from the hotkey command

But now i am using this, temporary fix for the problem

sub FSc()
if UO.Mana >= 20 then
UO.usetype('FSscroll')
uo.waittargetlast()
else
uo.charprint('0x0015','Sem mana')
endif
end ...
by gflip
2011-11-17 18:25:13
Forum: I need script!
Topic: Changing target
Replies: 7
Views: 2072

Re: Changing target

ZeroDX wrote:Do not perform any action between the occurrence of target and its indication


I am not

The line is "usetype 'FSscroll';waittargetlast"
by gflip
2011-11-17 18:06:02
Forum: I need script!
Topic: Changing target
Replies: 7
Views: 2072

Re: Changing target

When i am with low mana and try to cast a spell i get the msg "Auto-target canceled" and then i loose the target (i am using waittargetlast)

How to fix it?
by gflip
2011-11-17 17:13:15
Forum: I need script!
Topic: Changing target
Replies: 7
Views: 2072

Changing target

I am loosing target in PvP. I want to change waittargetlast with the ID of the player, can someone help me?
by gflip
2011-11-17 03:01:48
Forum: I need script!
Topic: Mount and unmount
Replies: 7
Views: 1694

Re: Mount and unmount

ZeroDX wrote:follow this link


This script uses your latest horse
you can remove some of lines

Code: Select all

UO.MoveItem('_0x0F08',1,'lasthorse')
      UO.WarMode(0)
      UO.UseObject('lasthorse')


Thank you, this worked!
by gflip
2011-11-16 22:57:36
Forum: I need script!
Topic: Mount and unmount
Replies: 7
Views: 1694

Re: Mount and unmount

ZeroDX wrote:,info then target your horse


Cool, it worked

But is this way i have to set the ID everytime i change a horse (is this right?)

Is there a easier way?
by gflip
2011-11-16 22:48:40
Forum: I need script!
Topic: Mount and unmount
Replies: 7
Views: 1694

Re: Mount and unmount

ZeroDX wrote:Try this

Code: Select all

sub Mount()
  var id_Horse = '0x12345678'            ;<= ID
  If UO.ObjAtLayer('Horse') then
    UO.UseObject('self')
   else
    UO.UseObject(id_Horse)
  Endif
Endsub


Sorry i am very noob

How i get the horse ID?
by gflip
2011-11-16 21:05:24
Forum: I need script!
Topic: Mount and unmount
Replies: 7
Views: 1694

Mount and unmount

Hi, i want to mount/unmount in one single key

Is that possible?