Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

targeted particle script behaves badly when worn

Kaligus Campbell
Registered User
Join date: 4 Apr 2006
Posts: 11
04-23-2006 15:33
I have a targeted particle poofer I wrote which allows me to send a command "/20 type:target" where type is the texture I have selected and target is any of AGENT|SCRIPTED|ACTIVE|PASSIVE by name.

If I drop the object on the ground the script works perfectly no matter what I target, when I wear the object I can not target AGENT no matter what I do.

What am I missing? or is something broken?
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
04-23-2006 17:23
Last I heard, SCRIPTED was a limiter - only search for objects that contain scripts, when combined with either PASSIVE or ACTIVE (or both). Try scanning without SCRIPTED and see if that helps.
==Chris
Kaligus Campbell
Registered User
Join date: 4 Apr 2006
Posts: 11
04-23-2006 19:04
From: Christopher Omega
Last I heard, SCRIPTED was a limiter - only search for objects that contain scripts, when combined with either PASSIVE or ACTIVE (or both). Try scanning without SCRIPTED and see if that helps.
==Chris


All it changes either worn or dropped is that I can no longer target scripted items :(

I have even changed the sensor to just AGENT and it works on any allowed ground but not when worn.
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
04-24-2006 07:49
I detect AGENT in sensors in HUDs no problem.

Note that sensors don't detect the object they're in... and that includes you when you're wearing the object.
Kaligus Campbell
Registered User
Join date: 4 Apr 2006
Posts: 11
04-24-2006 10:04
From: Argent Stonecutter
I detect AGENT in sensors in HUDs no problem.

Note that sensors don't detect the object they're in... and that includes you when you're wearing the object.


I discovered this and was just going to post that the solution to the problem was to put the scripted object linked to another object, now it finds everyone but myself, and you just answered that question :)

Thanks to all for the help, I still dont understand why it has to be a linked object to find agents but that amde it work (the scripted object is not touching the attached object) but as long as it works I am good!