|
Justus Kepler
Registered User
Join date: 5 Nov 2006
Posts: 1
|
09-10-2007 11:59
Hi there, I created a scripted object (called "flyer"  , that performs random moves (too fast). Now it is flying around somewhere and I get IM-Messages telling me that it was blocked from forbidden land. How to catch it ? I tried to write a "hunter" script but unfortunately "flyer" is not physical-> no pushing and has not set the CHANGE_LINK permission -> so no locking it by linking something to it Any ideas ? Thanks Justus
|
|
Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
|
09-10-2007 12:26
From: Justus Kepler Hi there, I created a scripted object (called "flyer"  , that performs random moves (too fast). Now it is flying around somewhere and I get IM-Messages telling me that it was blocked from forbidden land. How to catch it ? I tried to write a "hunter" script but unfortunately "flyer" is not physical-> no pushing and has not set the CHANGE_LINK permission -> so no locking it by linking something to it Any ideas ? Thanks Justus The error should feed you some coordinates (minus the Z value) and a sim name, head to that location and do a quick run from the ground up, looking for your object. If if has any texture with an alpha channel, use CTRL+ALT+T and it will highlight your object in red for easier finding. as a future precaution, build yourself a HUD button that uses llRegionSay() on a specific channel to give out a stopping command, and have your flier do llOwnerSay("I am at " + (string)llGetPos() + " in region " + llGetRegionName()); followed by switching to an off state, or even using llSetScriptStatus(...) to turn the script off. this should make recovery much much easier for you next time. Also, the linking will only work if the objects are close enough together to work, otherwise it will silently fail. typically, if you can get your retriever close enough to link with the object, you should be able to find it yourself, unless dealing with very small objects.
_____________________
My SLExchange shopTypos are forgiven; desecrating the english language with reckless abandon and necrophilic acts is not. The function is working perfectly fine. It's just not working the way you wanted it to work.
|
|
Jotheph Nemeth
Registered User
Join date: 9 Aug 2007
Posts: 142
|
09-10-2007 14:06
You can also ask the land-owner to return it to you. It will go back to your inventory then.
If the script is still actively trying to move, you'll want to wear it, then you'll be able to stop the script so you can edit it.
|
|
Destiny Niles
Registered User
Join date: 23 Aug 2006
Posts: 949
|
09-10-2007 14:12
If it's on your property you can use the land commands and show your objects. I normally set the select mod to select my objects only. Set my draw distance to 256 or more, fly up, look down and select large areas until I catch it.
|