Denrael Leandros
90 Degrees From Everythin
Join date: 21 May 2005
Posts: 103
|
06-12-2005 23:22
Is there a way to script finding a total count of the prims I have on the property I'm renting? I know I can go count them, but it seems like this would be a useful script. I'm new to LSL, but not to scripting in general. If there is a sample of something like this or someone can point me toward the right functions, that would be great
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
06-12-2005 23:56
There isn't really a great way of doing this through scripting although it is possible.
llSensor only returns 16 items, and although scripting something that moves around your property and counts objects and prims in it should be possible, it *has* to be easier to do it from the UI.
World>About Land then the objects tab and refresh list works I think, on anyone's land, so you can see how many prims are there that belong to you.
Failing that I'd be inclined to write a script that counts prims in each object and shouts it out, probably in response to a touch and do the sums that way, or maybe shouts it out on a silent channel once per day and you keep a counter object that only listens for a little while each day. That would mean going back and and putting the script in each object you already have, and *still* might not work because you can't add scripts to no mod objects.
|
Tya Fallingbridge
Proud Prim Whore
Join date: 28 Aug 2003
Posts: 790
|
06-15-2005 09:56
From: Denrael Leandros Is there a way to script finding a total count of the prims I have on the property I'm renting? I know I can go count them, but it seems like this would be a useful script. I'm new to LSL, but not to scripting in general. If there is a sample of something like this or someone can point me toward the right functions, that would be great Ask your land owner to check in the objects tab in the "about land" for you. They will be able to give you an accurate count of your prim usage.
|