|
Post by zeezoram on Feb 9, 2017 6:52:46 GMT
So I used to have a script when i played on UODemise that after I put my pet on guard, hid, and then started the script, it would allow me to stay hidden while my pet went around the screen attacking any grey enemies that popped up. (Very useful for Solen Queen Zoogie farming) where i could lean back and watch my second monitor for 2-3 minutes before going back to looting the queens. When i quit UO for 2 months i came back and my scripts were gone, I have been able to track the majority of them down but i could not find this script anywhere! I was wondering if anyone could help me build this script again. If i remember correctly it would put a message above the head of the grey creature that would say "KILL ME" and my pet would go over and attack it. I had a 5 second delay timer between loops. I currently use:
@getenemy 'murderer' 'Enemy' 'criminal' 'gray' 'closest'
target! 'enemy'
attack! 'enemy'
msg 'all kill'
@target 'enemy'
pause 5000
But it doesn't allow me to stay hidden as i am saying "all kill" is there any way that I can get my pet to attack while staying hidden? I now play on the Wakened UO server (login.wakened.net Port 2593), thanks in advance and I hope we can work out a solution!
Demonic Requiem / Acedia
|
|
|
Post by Experience on Feb 10, 2017 22:34:05 GMT
you will need to use the context option to stay hidden (record clicking your pet and selecting kill) instead of msg "all kill"
|
|
|
Post by zeezoram on Feb 11, 2017 6:24:55 GMT
Ok thankyou for the advice, I was able to get it to target the closest enemy and send my pet at them, but i came up with a problem that my pet will swap targets before it is dead and go back to the closest one. Is there any way that I can have it target the closest but have it stay on that target even if it starts running away or is even distance with another enemy? Like a, stay on this target until it is dead. This is the new code so far:
@getenemy 'murderer' 'Enemy' 'criminal' 'gray' 'closest' if @findobject 'enemy' autotargetobject! 'enemy' attack! 'enemy' waitforcontext 0xbb69 2 15000 @target 'enemy' endif @clearusequeue @cancelautotarget pause 5000
I could make the pause time longer but if i am fighting small things like lizardmen i don't want to be waiting for 30 seconds between target commands, i just want it so that when the target is dead it restarts the macro again, if it doesn't find an enemy it just repeats again and again until it finds a target.
|
|
|
Post by Experience on Feb 12, 2017 1:43:52 GMT
if not timerexists 'Search'
createtimer 'Search'
settimer 'Search' 6000
endif
if not @findobject 'TTK' and timer 'Search' > 3000
@unsetalias 'TTK'
@getenemy 'murderer' 'criminal' 'grey' 'gray' 'nearest'
endif
if @inrange 'enemy' 8
@setalias 'TTK' 'enemy'
@unsetalias 'enemy'
autotargetobject! ' attack! 'enemy' waitforcontext 0xbb69 2 15000 @target 'enemy' @clearusequeue @cancelautotarget pause 1000 endif
|
|