| Yoko http://forum.yoko.com.ua/ |
|
| Auto Attack script http://forum.yoko.com.ua/viewtopic.php?f=17&t=11771 |
Page 1 of 1 |
| Author: | motxu [ 2007-04-16 12:27:01 ] |
| Post subject: | Auto Attack script |
I would like to auto cast Im Por Ylem to any player that appears in my screen when y run the script thanks |
|
| Author: | Scripts Writer [ 2007-04-16 14:44:07 ] |
| Post subject: | |
There are two types of people in UO without races. That's woman's and man's type us usually. Use them in array and if it'd be found on the sreen( change by set finddistance ), then get this id by uo.GetSerial('finditem') and cast what d'u want. |
|
| Author: | motxu [ 2007-04-20 12:17:39 ] |
| Post subject: | |
uo.say("Hey BltCh! get out my way!") var i DIM t[2] t[0] = "0x0191" t[1] = "0x0190" uo.ignore( "self" ) UO.Set("finddistance","20") for i = 0 to 1 uo.findtype( t[i] , -1 , "ground" ) if uo.FindCount() then uo.attack( "finditem" ) uo.cast("Weaken","finditem") wait(3500) endif next wait(500) End Sub ok ok, but now imagine i would like to get everybodys serial, any player on screen. How to do that? Thanks |
|
| Author: | Sanch [ 2007-04-20 13:50:07 ] |
| Post subject: | |
Code: sub Spell() |
|
| Author: | motxu [ 2007-04-20 13:55:05 ] |
| Post subject: | |
but that takes only one player serial. i Want everybodys serial thanks anyway |
|
| Author: | Sanch [ 2007-04-20 14:53:52 ] |
| Post subject: | |
I don't understand you. Do you want to get yourself ID and aim ID or all object around you? |
|
| Author: | motxu [ 2007-04-20 20:06:41 ] |
| Post subject: | |
k let me explain. I just want a macro that gets everybodys serial in my screen. If there are two people, get both serials and associate them with two label. person one serial = a person two serial = b understand now? |
|
| Author: | Nmy [ 2007-04-21 01:38:57 ] |
| Post subject: | |
motxu wrote: k let me explain.
I just want a macro that gets everybodys serial in my screen. If there are two people, get both serials and associate them with two label. person one serial = a person two serial = b understand now? what to do with those serials ? write somewher down? |
|
| Author: | motxu [ 2007-04-21 12:00:17 ] |
| Post subject: | |
imagine im getting ganked by two people. i run the script and got both serials so i can cast Magic Reflection to both players and make them fizzle their spells. (spells in my shard fizzle if a spell hits u while casting) understand now? |
|
| Author: | Nmy [ 2007-04-21 13:40:00 ] |
| Post subject: | |
motxu wrote: imagine im getting ganked by two people.
i run the script and got both serials so i can cast Magic Reflection to both players and make them fizzle their spells. (spells in my shard fizzle if a spell hits u while casting) understand now? use your hands for that - it's more faster and there will be no problems with scripts |
|
| Author: | motxu [ 2007-04-21 14:01:11 ] |
| Post subject: | |
well , ill use my hands ^^ thanks anyway man, you've been solving nearly all my problems thanks again |
|
| Author: | Nmy [ 2007-04-21 14:25:09 ] |
| Post subject: | |
motxu wrote: well , ill use my hands ^^
thanks anyway man, you've been solving nearly all my problems thanks again you're welcome |
|
| Author: | Mihail [ 2007-04-22 22:47:36 ] |
| Post subject: | |
Code: UO.Set("finddistance","20")
14 tiles - max |
|
| Author: | motxu [ 2007-04-23 12:14:20 ] |
| Post subject: | |
and how to find an item with findistance,1. If not found try to find the item in findistance,2. If not found try with findistance,3 etc? ? thanks ^^ |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|