Hi Folks,
I'm having trouble with the following script. The script is placed in an object which gets rezzed by another object (to get around the 10 meter limit). The script works fine if I take it out of inventory, but doesn't work when rezzed by the other object.
Thanks in advance.
[PHP]
default
{
on_rez(integer param)
{
llResetScript();
}
state_entry()
{
llSleep(2.0);
vector my_pos = llGetPos();
llRezObject("my_object", my_pos + <0.0, 0.0, 5.0> , ZERO_VECTOR, ZERO_ROTATION, 0);
llSleep(10.0);
llDie();
}
}
[/PHP]