Sakai, I've seen that current version of opensim installed in Quartz, where I do my experiments is bugged with reference to scripts.
Simple float addition like 0.5 + 0.5 is NOT working.
I was just trying to do a pulsing prim script like the following
float d=0.5;
float dx=0.5;
default
{
state_entry()
{
llSetTimerEvent(1);
llSay(0,"reset*");
d=0.5;
dx=0.5;
}
timer()
{
llSay(0,"timer dim: "+(string)d+" dx: "+(string)dx);
d = d + dx;
llSay(0,"timer dim2: "+(string)d+" dx: "+(string)dx);
if(d>4) dx= -0.5;
if(d<1) dx= 0.5;
llSetScale(<d,d,d>);
}
}
but it just put d at zero after any float computation.
I tried this with newer versions on the trunk (5520) and it worked smoothly. So probably they've fixed this bug very recently.
A script engine not able to sum up two floats is quite borked... Or not? :)