ScriptUO

Scripting Resources & Utilities => Stealth Client => Stealth Snippets\Library => Topic started by: Darkfallplayer on November 04, 2017, 11:31:04 PM

Title: Stealth Monster Target snippet.. ( Help )
Post by: Darkfallplayer on November 04, 2017, 11:31:04 PM
Hi guys,

I was just wondering about how targeting works on stealth, is there a way to target like on steam where you can just search for greys, reds etc. If so how would you do so?

Or do you always have to target via a specific monster code?

Thanks for your help.
Title: Re: Stealth Monster Target snippet.. ( Help )
Post by: BobOzarius on November 05, 2017, 10:12:34 PM
There's at least 2 different ways to target anything in UO. More if you include tiles. Monsters and people can be targeted by their TYPE, OR, their ID. Type, includes all items/monsters of that type, so a mongbat's type is the same for ALL mongbats. And a mongbats ID is unique for each and every mongbat, so you can target them individually by ID, or any mongbat by type.
Title: Re: Stealth Monster Target snippet.. ( Help )
Post by: Darkfallplayer on November 06, 2017, 02:13:28 AM
Sure, I full understand what you are saying - I was just hoping in stealth they would have an option much like steam -

getenemy 'murderer' 'innoncet' 'enemy' 'criminal' 'gray'  'nearest'

Which would get me the nearest grey/red, if that makes sense? I think they have a command to do with Notoriety? I'm just not sure how to make a sub that would scan for anything grey and attack it.


Title: Re: Stealth Monster Target snippet.. ( Help )
Post by: bendel on November 06, 2017, 05:10:00 AM

Look at his code  "http://www.scriptuo.com/index.php?topic=13850.0" 
it show clearly how to do what you'r asking.

Have a nice day !
Title: Re: Stealth Monster Target snippet.. ( Help )
Post by: Tidus on November 06, 2017, 08:07:32 AM

Look at his code  "http://www.scriptuo.com/index.php?topic=13850.0" 
it show clearly how to do what you'r asking.

Have a nice day !

The AutoMobKiller is very good resource in figuring out how to target in C# based Stealth Scripts. There are not too many resources out there for it, and currently Crome is rewriting his SDK.  Make sure you check scriptsdk.com often for updated versions because as Vizit0r updates Stealth the SDK has to be updated sometimes.
Title: Re: Stealth Monster Target snippet.. ( Help )
Post by: Darkfallplayer on November 06, 2017, 11:55:31 AM
thank you guys!