Talk:One Script, many doors
There is a little mistake in the decoding of the vector. It does only work up to a hight of 256 meters. I tried it at 4012 meter and failed. the mask for z in the SoundEmitter script should not read 0xFF but 0x1FFF. Another problem with the script is thepositioning. llSetPos shouldn't be used, because each call results in 0.2 seconds weit. In the extreme case of 50 positionings it will take 50 x 0.2 = 10 seconds until the sound object is at the destination.