SRL Archive - News and General

How to get an ID?


turbobk

2008-09-23 05:35:02

Hey guys,

I'm making a reflection draynor woodcutter for my small army.
I need to find out what the ID of the willow tree is, how do I find out what the ID is?

Thanks. :)

Quickmarch

2008-09-23 05:47:28

look in the SMART Page for reflection tuts

turbobk

2008-09-23 05:59:25

I have looked..
I looked before I posted this, if there was information there saying how to do it, this thread wouldn't exist.

I know your trying to help, but have a think next time :p

P1nky

2008-09-23 06:42:02

just use color base :)

its more challenging and fun :P?

turbobk

2008-09-23 06:53:56

From: ~~Joker~~
just use color base :)

its more challenging and fun :P?



Man… look, I KNOW how to find a stinking willow tree using color.
It's easy.. I've done it countless times, I want to KNOW how to find ID's or how to find a Willow tree using Reflection.

Reflection is alot more reliable when it is working, as it knows where things are instead of guessing where they are using color.


Thanks.

Naike

2008-09-23 10:08:00

Why so angry?
Don't worrie… Be happy !

Theres a function called GetUIDat try it..

PvH

2008-09-23 11:12:56

I always use rsbot for it:p
Its kinda usefull..
And the numbers of the willow thing is:
1519 : log
5551 : tree

PvH

Method

2008-09-23 19:12:16

To do it in SCAR, get a tile of the tree, and then you can do something like:

WriteLn(IntToStr(GetObjectAt(TileX, TileY).objType));

Once you have the ID you can use it in FindObject.

turbobk

2008-09-24 05:40:11

Hey PvH thanks for the ID!! :)
Nice to see that your back!


And Thanks Method, I'll use that next time :)