Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Hud Troubles (Attachment Related)

Jaser Newell
Registered User
Join date: 12 Sep 2006
Posts: 23
02-02-2007 01:25
I am working on a magic hud. The way it works is that the hud rezzes and attaches a small invisible prim with the codes for the spells inside it. This is so the particle effects come from the avatar. When you click on a button the spell is called. However, there are a couple of problems. The attached prim shows up in the users inventory, and does not detach along with the hud. Is there a way to fix this, or is there a better way entirely than attaching the object to the avatar?
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
02-12-2007 05:43
From: Jaser Newell
I am working on a magic hud. The way it works is that the hud rezzes and attaches a small invisible prim with the codes for the spells inside it. This is so the particle effects come from the avatar. When you click on a button the spell is called. However, there are a couple of problems. The attached prim shows up in the users inventory, and does not detach along with the hud. Is there a way to fix this, or is there a better way entirely than attaching the object to the avatar?



The attached object will have to dettach itself, its not linked to the HUD in any physical way. I suggest you have some form of exit code that dettaches the hud and broadcasts a dettach now message for the attached prim to respond to.

Or have the HUD broadcast a keep alive signal which the attached prim can check for and respond to when it disappears