| Yoko http://forum.yoko.com.ua/ |
|
| target guilds enemy http://forum.yoko.com.ua/viewtopic.php?f=3&t=1738 |
Page 1 of 1 |
| Author: | virussino [ 2004-10-26 01:10:52 ] |
| Post subject: | target guilds enemy |
Hi blank for a long time I try to make a macro for target players enemy, but after months of tests I have lost the hopes someone could address to me towards the just road? I have tried with getnotoriety, but on "RunUO Shard" they give many problems to me, it serves to me macro that nameplates single pg of some guilds [ Evils ] or [ Army ] or other and even than nameplates player the more neighbor to me, but he is not indispensable, can be made something? Code: sub target() this is my macro the problems are: 1) it takes also pk of my guild 2) often the target remains on my pg 3) if the targetnext the macro passes on my pg goes in tilt 4) uo.GetName("laststatus") it always does not work in correct way sorry for english, I use translator online tnx ^^ |
|
| Author: | clagio [ 2004-10-26 06:53:08 ] |
| Post subject: | |
you can add a check on the name of the target, so if the name is = to your name, or the name of one pk of your guild, the script go on, with another target next something like this: sub target() var exit = 0 var noto = 0 wait (200) while (exit <= 10) exit = exit + 1 uo.press (56) ; target next (8) wait (300) noto = UO.GetNotoriety("laststatus") if ((noto == 6) || (noto == 5) || (noto == 4)) && (uo.GetName("laststatus")) then if ((UO.GetName"laststatus" == "Your_name") || (UO.GetName"laststatus" == "Pk_guild") then uo.press (56) ; target next (8) else uo.print("TARGET: "+uo.GetName("laststatus")) uo.attack("laststatus") return end if end if wend end sub |
|
| Author: | Archangel [ 2004-10-26 08:49:50 ] |
| Post subject: | |
Code: sub attack() it should work about this Code: if (UO.GetNotoriety(enemyID)>2) then you can change some Code: if (UO.GetNotoriety(enemyID)>2) then |
|
| Author: | virussino [ 2004-10-26 22:50:59 ] |
| Post subject: | |
thanks:D often it takes pg blue, is normal? I have fear that getnotoriety not the functions much good on my shard I can select the player so as to to make to appear the bar of a life under of it, or to take to its bar of the life (Status)? in place of UO.Attack(enemyID) I would want to only take the target, in order then to use a button with AttackLast ^^ tnx |
|
| Author: | virussino [ 2004-10-31 13:47:44 ] |
| Post subject: | |
tried many things but nobody difficult this works too much macro it would be possible to make macro with targetnext that firm when it finds a player of one guild? to set up of the variable ones like [ Evils ] and [ KrT ] and to make so that the targetnext make a cycle as in mine macro it only begins them and firm on players of those the two guilds? it would go to me well even if the targetnext it was not stopped on my companions of guild, therefore in the battles with many players would be the much easiest one to take the target plss :°°° |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|