Bret Hornet
Registered User
Join date: 6 Jun 2005
Posts: 29
|
06-13-2005 11:45
Is there an easy way to get the keys of all objects within a specific range of another object? I've noticed some scripts that detect people in the area and I'm guessing it's something like this. I've looked at llSensor and llSensorRepeat but they both require you to know the name and key of the object. :-/
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
06-13-2005 12:22
No they don't llSensor("", NULL_KEY, ACTIVE | PASSIVE | SCRIPTED, 25, PI); Gets the 16 closest objects in a 25 meter radius from the middle of the sensing object.
|
Bret Hornet
Registered User
Join date: 6 Jun 2005
Posts: 29
|
Thanks
06-13-2005 12:50
Thanks Jillian, I missed the part about using null string / NULL_KEY. Thanks for the pointer  -Bret
|