Page 1 of 1

last target name

Posted: 2007-08-08 15:15:23
by thor_odt
I'm trying to make a script that, when i change target by uo macro NEXTTARGET, it make my pg say the name of the targetted player
and say nothing is it's a npc.
i tried this but does not work if there are several players
thanks

sub TARGET()
if ( uo.GetNotoriety('laststatus') <> 2 && uo.GetGraphic('laststatus') == '0x0190' && uo.GetName('laststatus') <> "[invulnerable] " && uo.GetName('laststatus') <> "[frozen] " && uo.GetName('laststatus') <> "[frozen] [invulnerable] ") then

if ( uo.GetNotoriety('laststatus') == 5 ) then
uo.fontcolor(0x0013)
UO.Say( "-->"+ uo.GetName('laststatus') +"<-- " )
else
uo.fontcolor(0x003a)
UO.Say( uo.GetName('laststatus'))
endif

endif
end sub

Posted: 2007-08-08 22:20:35
by Ururu
http://forum.yoko.com.ua/viewtopic.php?p=45313#45313

З.Ы. учите русский...

Posted: 2007-08-08 22:35:57
by Scripts Writer
Ururu wrote:http://forum.yoko.com.ua/viewtopic.php?p=45313#45313

З.Ы. учите русский...


Учи английский.

Человек пишет что когда он переводит прицел командой таргет некст ему надо чтобы ник на кого попал таргет он произносил в клиенте.