Yoko

All sides of Injection
It is currently 2026-01-25 01:03:10

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Targets Complication
PostPosted: 2008-07-20 00:31:39 
Offline

Joined: 2005-09-08 18:38:12
Posts: 64
Well, as my laststatus was always changing to self while playing and nobody knows how to solve it, i decided to change all my spells targets to 'lasttarget'
but now here goes another problem:

when i cast heal spell on my friends the 'lasttarget' changes to him and i lose the target of my enemy...

here is my script to heal friends (the help object is setted to a friend in the objects tab):
sub HealAlly()
uo.cast('Magic Reflection','Help')
uo.print(str(uo.gethp('Help')))
end sub

and here is how i cast poison on enemy: (it is in hotkeys)
cast Poison lasttarget

i also lose my enemy target when i use uo.poison('Id of weapon')

i was writing something to save the 'lasttarget' before those actions e set it again after them, but it does not works great and fast as i wish...

i hope you can help me to fix it

thanks


Top
   
 Post subject:
PostPosted: 2008-07-25 04:54:18 
Offline

Joined: 2005-09-08 18:38:12
Posts: 64
Any idea plz ?


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 4 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