SRL Archive - Reflection Development

Find groundobjects by name?


marpis

2009-06-10 21:05:36

correct me if im wrong, butcurrently you can only find ground objects by ID, right?

If there was an INI file with all the most common items and their IDs, you could make function that finds ground objects by name. like FindGroundobject(var x, y:integer; name: string): and then check if 'name' is found in the INI file.

If no-one does this, i might do it myself some rainy day.

Dynamite

2009-06-10 21:10:10

I would do, but how would you do it? :p

T~M

marpis

2009-06-10 21:13:02

From: The Man
I would do, but how would you do it? :p

T~M


read a tut on .INI files :)
first you need to collect hellalotta IDs ^^ i think they can be somehow taken from rs item database?

Dynamite

2009-06-10 21:15:38

OK I got the ids.
I will read a tut now, any referrals?

T~M

Shady?

2009-06-10 21:16:00

From: marpis
read a tut on .INI files :)
first you need to collect hellalotta IDs ^^ i think they can be somehow taken from rs item database?


http://www.villavu.com/forum/showthread.php?t=42330&highlight=id+grabber
maybe edit that a bit to output all the id's and names to a ini file?

marpis

2009-06-10 21:20:36

From: The Man
OK I got the ids.
I will read a tut now, any referrals?

T~M


http://www.villavu.com/forum/showthread.php?t=28301
use search ;)

Phran6

2009-06-12 21:20:55

just ask zasz if you can use this http://zaszmedia.com/scripts/ids.txt
13k id lol :P