Scripting Resources & Utilities > Stealth Snippets\Library

Stealth Monster Target snippet.. ( Help )

(1/2) > >>

Darkfallplayer:
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.

BobOzarius:
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.

Darkfallplayer:
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.


bendel:

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 !

Tidus:

--- Quote from: 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 !

--- End quote ---

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.

Navigation

[0] Message Index

[#] Next page

Go to full version