|
AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
|
06-20-2007 12:51
Why does
llSetStatus(TRUE,STATUS_SANDBOX); turn Physical on??
The value for Physical is STATUS_PHYSICS. Is there something wrong with the status value evaluation? (You can, however, turn if off again manually in edit.)
The STATUS_SANDBOX Description says
. . . Object can't cross region boundaries or move more than 10m from it start location (and loses physical attribute).
I've not been able to verify that this is correct. I've moved them across region boundaries and nothing happens. I think the Physical did stop after 10m.
And if it did work, what would happen if you put it in inventory and then rez in a different region - is that "crossing a boundary"? Does it refuze to rez, or rez, then vaporize?
This also tends to suggest that STATUS_PHYSICAL is being turned on by the function in error instead of STATUS_SANDBOX.
Can you create an object that can only be used freely in the originating region and is blocked, or vaporizes at the boundary?
Any experience out there - this could be a handy function if it worked.
|
|
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
|
06-21-2007 06:00
From: AnnMarie Otoole Why does
llSetStatus(TRUE,STATUS_SANDBOX); turn Physical on??
The value for Physical is STATUS_PHYSICS. Is there something wrong with the status value evaluation? (You can, however, turn if off again manually in edit.)
The STATUS_SANDBOX Description says
. . . Object can't cross region boundaries or move more than 10m from it start location (and loses physical attribute).
I've not been able to verify that this is correct. I've moved them across region boundaries and nothing happens. I think the Physical did stop after 10m.
And if it did work, what would happen if you put it in inventory and then rez in a different region - is that "crossing a boundary"? Does it refuze to rez, or rez, then vaporize?
This also tends to suggest that STATUS_PHYSICAL is being turned on by the function in error instead of STATUS_SANDBOX.
Can you create an object that can only be used freely in the originating region and is blocked, or vaporizes at the boundary?
Any experience out there - this could be a handy function if it worked. It should be llSetStatus(integer status, integer value), so llSetStatus(STATUS_SANDBOX, TRUE)
|
|
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
|
06-21-2007 08:22
Also, you talked about rezzing the object. If this is something you want to give others, but only have them be able to use it on your land, you would have to script it to check the region name that it's in on rez, and die if it's not at the right place.
|