Category Archives: Blue Mars

Simulating llSensor() in Blue Mars

While I’m quite sure that there are probably more efficient ways to get the same kind of information, I decided to spend an hour seeing what it would take to simulate the familiar LSL function llSensor() in Blue Mars. Below is a lua function that detects all avatars within a given radius, and narrows down [...]