Rezzed objects via llRezObjectWithParams can lose certain flags on region crossings, confirmed with REZ_FLAG_DIE_ON_COLLIDE
complete
Soap Frenzy
Rezzing an object with llRezObjectWithParams using the flag REZ_FLAG_DIE_ON_COLLIDE lose the setting when they pass from one region to the next.
I've setup a simple test in http://maps.secondlife.com/secondlife/Vertical%20Sim/239/10/21
using the script
default
{
touch_start(integer total_number)
{
llRezObjectWithParams("bullet",[
REZ_POS, <0,0,1>*llGetRot(), TRUE, FALSE,
REZ_VEL, <0,0,1>*llGetRot(), TRUE, FALSE,
REZ_FLAGS, 0
| REZ_FLAG_PHYSICAL
| REZ_FLAG_TEMP
| REZ_FLAG_DIE_ON_COLLIDE
]);
}
}
Click each box to test behavior.
You can see with the test setup that an object rezzed using this script will die on collision within the same region but will not when colliding with an object once it has crossed a region border
Log In
Nexii Malthus
This is still an issue, new issue at: https://feedback.secondlife.com/combat-20/p/rez-object-with-params-objects-are-losing-params-on-sim-crossing-rowp
This post was marked as
complete
Maestro Linden
tracked
Maestro Linden
Thanks for the report. I also see that objects rez with the REZ_FLAG_DIE_ON_COLLIDE flag appear to lose that property on region crossing. This flag has no equivalent with other functions such as llSetStatus(), so I believe it's simply a matter of the 'die on collide' attribute not being serialized on sim crossing.
I also observe that if an object is rezzed with REZ_FLAG_DIE_ON_COLLIDE, is taken into inventory without colliding, then is re-rezzed from inventory, the flag appears to be stripped.
I do observe that other flags like REZ_FLAG_PHYSICAL and REZ_FLAG_TEMP are properly observed on region crossing.
Maestro Linden
under review
Nexii Malthus
If a Linden investigates this, please check other flags as well.
Also can we get these backported to llSetStatus & have them as object attributes? Or is there a reason they are not?
I have a feeling these new flags from llROWP might not be object attributes and/or not serialised when crossing sims.