Talk:Sensor

From Second Life Wiki
Jump to navigation Jump to search

The example script doesn't compile due to an undefined variable "i" on line 16.

And even with that error fixed, the script gives wrong results when there is just one detected avatar, as the do loop executes when it shouldn't (the while condition should be tested BEFORE the loop).

This is the 15th or 16th faulty or corrupted script produced by the same manic Wiki editor.

Omei Qunhua 14:12, 25 December 2012 (PST)

Fixed it now. Omei Qunhua 01:52, 26 December 2012 (PST)

Objects worn on HUD cannot be detected with sensors. An alternative way is to put the sensor on HUD and make it detect the object that should have a sensor and say something on a special channel. --Rays of green light. Bright and proud to be a Circassian 13:48, 7 November 2013 (PST)