target problem

Requests of new features and reports on bugs needs to be fixed

Moderators: Murderator+, Murderator

Post Reply
dafee
Posts: 9
Joined: 2006-03-12 12:41:55
Contact:

target problem

Post by dafee »

My problem:

I'm waiting in precast.
When I see my target (I have its ID throught .c) i wanna launch a macro that cast my flame on it.

impossible?
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

Code: Select all

uo.Cast('Flame Strike',' there is an ID of your target')
dafee
Posts: 9
Joined: 2006-03-12 12:41:55
Contact:

Post by dafee »

no!
I have this

Image

and wanna drop it on the target ID when I want
possible?
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

Code: Select all

uo.waittargetobject('id')
uo.Cast('Flame Strike')
Sanch
Posts: 308
Joined: 2005-07-17 15:30:52
Location: www.drw.ru

Post by Sanch »

You may use this, bat I don't advaced to do it, bicouse you will be banned if this will work uncorrectly.

Sorry for my bad English :)

uo.target('target_key', 'ID')

target_key you can take ,lasttargetkey command, bat I don't shure.
Post Reply