Hiding sprites not working
|
|
Kai Nereus
Registered User
Join date: 5 Nov 2006
Posts: 5
|
01-04-2007 07:44
Please help. How to I completely hide the sprites of a prim when a prim is touched, collided with, etc.? I've tried just about everything but i still see faint white sprites when i touch the prim, collide with it, etc. llCollisionSound("", 0.0); llCollisionSprite(""  ; llSetAlpha(0.0, ALL_SIDES); llParticleSystem([]); etc. Thanks.
|
|
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
01-04-2007 07:52
Well, either of the first two should have turned them off completely. (The other two won't change things.) Can you post your complete script?
_____________________
http://ordinalmalaprop.com/forum/ - visit Ordinal's Scripting Colloquium for scripting discussion with actual working BBCode!
http://ordinalmalaprop.com/engine/ - An Engine Fit For My Proceeding, my Aethernet Journal
http://www.flickr.com/groups/slgriefbuild/ - Second Life Griefbuild Digest, pictures of horrible ad griefing and land spam, and the naming of names
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
01-04-2007 07:56
Are you using any chat messages i.e. llSay or llOwnerSay? They will generate white, as opposed to the yellow/orange or a collision, particles.
|
|
Dimentox Travanti
DCS Coder
Join date: 10 Sep 2006
Posts: 228
|
01-04-2007 08:04
That things are for the object colliding with something else as far as i know.. the sprite that your seeing is from your own avatar.
_____________________
LSL Scripting Database - http://lsl.dimentox.com
|
|
Kai Nereus
Registered User
Join date: 5 Nov 2006
Posts: 5
|
01-04-2007 08:10
Hi Ordinal, Thanks for your help. I created an invisible prim that i want to detect collisions, but when i collide with it, I can see white particles/sprite circling around. But this happens if even if I create a new prim with the default script, and just touch the prim. default { state_entry() { llCollisionSound("", 0.0); llCollisionSprite(""); llVolumeDetect(TRUE); llSetAlpha(0.0, ALL_SIDES); }
touch_start(integer total_number) { llSay(0, "Touched"); } collision_start(integer num_detected) { llSay(0, "Collision"); }
}BTW texture is set to LL "White Transparent" and color is white.
|
|
Kai Nereus
Registered User
Join date: 5 Nov 2006
Posts: 5
|
01-04-2007 08:18
Thanks Newgate!!
I took out the llSay() and the sprites disappeared. I wanted the prim to notify me whenever someone collided with the object, a simple hidden doormat security message to me.
Is there anyway to have it IM or llSay/llOwnerSay to me and hide those whites sprites?
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
01-04-2007 08:23
From: Kai Nereus Thanks Newgate!!
I took out the llSay() and the sprites disappeared. I wanted the prim to notify me whenever someone collided with the object, a simple hidden doormat security message to me.
Is there anyway to have it IM or llSay/llOwnerSay to me and hide those whites sprites? I think I'm right in say that the white sprites are only visible to the owner if you use llOwnerSay. You will really want this to IM you using llInstantMessage for when you are offline. However if you get a lot of visitors that could be capped. My visitor list script stores up visitors, along with the time and duration of visit, and then periodically (or on request) eMails them to me.
|
|
Kai Nereus
Registered User
Join date: 5 Nov 2006
Posts: 5
|
01-04-2007 08:26
Got it! Thanks Newgate, everyone! I apparently I'm the only one who can see the white sprites. 
|
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
01-05-2007 05:37
if you want the "magic" to stop (sprites are those collission sparks) make your object stop talking.
Instead have it change colour, shape, size, texture, or use llSetText to get it communicate.
Magic Swirlies can be a bit pain, and often ruin the appearance of, let's say.. a refrigerator. But that's just SL's way of telling you "which object said that just now". Make it stop talking, and 90% of all swirlies will stop.
_____________________
 ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura
|