ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: dreamzcaster on August 23, 2009, 06:10:54 PM

Title: How to get a monster's id?
Post by: dreamzcaster on August 23, 2009, 06:10:54 PM
I have been looking around but I don't see how to get a monster's id can anyone help me out?
Title: Re: How to get a monster's id?
Post by: UOMaddog on August 23, 2009, 06:12:15 PM
There are a few scripts that will do it for you on both the EasyUO website and others. The easiest way to do it is just pull the bar of the creature, then look in EUO under #conttype. That will be the ID for that monster!
Title: Re: How to get a monster's id?
Post by: TrailMyx on August 23, 2009, 06:51:23 PM
My FINDID info script works pretty well for things like this:

http://www.scriptuo.com/index.php?topic=188.0
Title: Re: How to get a monster's id?
Post by: dreamzcaster on August 23, 2009, 07:46:00 PM
Sweet thanks for the help :)
Title: Re: How to get a monster's id?
Post by: rana70 on August 23, 2009, 08:30:14 PM
Hi,

if you just need the Type here is a short snip to use:
Code: [Select]
Display Get ItemType$$Target your Item orMonster$
Set #targcurs 1
Target
Repeat
Until #TargCurs = 0
FindItem #LTargetID
Display TargetType: #FindType $
halt
cu
Title: Re: How to get a monster's id?
Post by: Petkiller on August 24, 2009, 11:43:16 AM
Some monsters will have diff ID types for the same monster and some monsters share the same ID. I know Lizard men have a few diff IDs.  When I was using my TOT farmer script I found that Lesser Hirus and Hirus have the same ID my farmer could kill lesser's without a problem but the normal Hirus were a problem.
Title: Re: How to get a monster's id?
Post by: Cerveza on August 24, 2009, 12:22:52 PM
Dragons and Greater Dragons also have the same ID.

If your trying to identify them you need to use "event property" to determine which one it is.
Title: Re: How to get a monster's id?
Post by: TrailMyx on August 24, 2009, 12:57:33 PM
Nice avatar, Cerv!  Hopey Changey = Hurkey Jerky! lol
Title: Re: How to get a monster's id?
Post by: Scrripty on August 24, 2009, 02:08:01 PM
Nice avatar, Cerv!  Hopey Changey = Hurkey Jerky! lol

I cringed at his quote:  Xcilo cant be happy he sold off his pvp weapons... ouch. :)
Title: Re: How to get a monster's id?
Post by: roadrunner on May 02, 2013, 08:10:55 AM
Hi,

if you just need the Type here is a short snip to use:
Code: [Select]
Display Get ItemType$$Target your Item orMonster$
Set #targcurs 1
Target
Repeat
Until #TargCurs = 0
FindItem #LTargetID
Display TargetType: #FindType $
halt
cu

this little snipet is awesome! thanks TM!!  i used it to convert Maddog's Demon farmer to Balrons :)
Title: Re: How to get a monster's id?
Post by: TrailMyx on May 02, 2013, 05:04:25 PM
I think Rana70 wrote that one.  Frankly, as you script, those are the utilities that all serious scripters end up writing for themselves to help aide in the creation of cool scripts.
Title: Re: How to get a monster's id?
Post by: Crome969 on May 03, 2013, 02:49:32 AM
I think Rana70 wrote that one.  Frankly, as you script, those are the utilities that all serious scripters end up writing for themselves to help aide in the creation of cool scripts.

Scripters without such Utilities shouldnt be taken serious :)