Yoko

All sides of Injection
It is currently 2025-12-03 16:39:25

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 2006-11-28 17:22:08 
Offline

Joined: 2004-09-27 02:08:26
Posts: 25
UOAssist and razor both have the target relative location, so it targets the tile on ground based on your currently location, is this possible in Injection?

I've tried alot with Injection with the ,target with tiles and stuff but not much really seemed to work, and all it does it give lotsa bad packets... hehe

So my question, does anyone know how this would work?

For instance, I would want to cast a poison field spell 2 tiles south of me, precasted...

So i'm running with my spell precasted and I would want to use it, or teleport precasted and cast like a tile north of me...

Thanks in advance

Greyhound


Top
   
 Post subject:
PostPosted: 2006-11-28 21:52:44 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Code:
uo.waittargettile("400",str(uo.getx("self")-5),str(uo.gety("self")+1),str(uo.getz("self"))) 

Code:
uo.waittargettile("400",str(uo.getx("self")+7),str(uo.gety("self")+3),str(uo.getz("self"))) 

Code:
uo.waittargettile("400",str(uo.getx("self")-2),str(uo.gety("self")-2),str(uo.getz("self"))) 

Code:
waittargetground   
waittargetlast   
waittargetobject   
waittargetobjecttype   
waittargetself   
waittargettile   
waittargettype   


for example... i guess this is what you are looking for?

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2006-11-28 22:56:01 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
In function getX, getY and getZ the attribute "self" is default.

E.g.:
Code:
uo.waittargettile("400",str(uo.getX()-2),str(uo.getY()-2),str(uo.getZ()));


Sorry for my clumsy English.


Top
   
 Post subject:
PostPosted: 2006-11-29 00:29:28 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
я оставил "self" чтоб человек мог понять, врятли он сможет это прочитать на русском в хелпе :roll:

з.ы. то что ты написал я уже написал в моём посте, кто теперь флудер? :)

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Last edited by Nmy on 2006-11-29 01:14:12, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2006-11-29 00:50:04 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
NMY wrote:
я оставил "self" чтоб человек мог понять, врятли он сможет это прочитать на русском в хелпе :roll:

А сейчас ты чиста нафлудил.

Я написал своё сообщенеи для того,чтобы он не задумывался после твоего примера над тем, что у функций по дефолту берётся.


Top
   
 Post subject:
PostPosted: 2006-11-29 01:55:27 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Чел хочет ставить свои пойзон филды на чужие, уже установленные?


Top
   
 Post subject:
PostPosted: 2006-11-29 02:16:24 
Offline
User avatar

Joined: 2005-07-10 21:53:05
Posts: 457
Он про прекаст говорит..
А это только через
uo.target(target_key,lasttile/object/ground,[ttype,type,X,Y,Z])


Top
   
 Post subject:
PostPosted: 2006-12-02 19:18:12 
Offline

Joined: 2004-09-27 02:08:26
Posts: 25
No actually I do not mean waittargettile, i've worked with that before the problem with that is, it instantly targets the tile after a cast, I really need to target a specific tile ( relative in UOAssist and Razor ) after I get a target up...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited