Talk:One Script, many doors

From Second Life Wiki
Revision as of 08:12, 28 September 2015 by Canis Canning (talk | contribs) (Error int2vec for z value)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.