Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

HUD doesn't use attach events

cua Curie
secondlifes.com/*****
Join date: 14 Nov 2003
Posts: 196
10-24-2005 20:01
Is it true that the HUD feature doesn't fire off attach events? I just did some light testing and it doesn't appear to work for me. Anyone else experience this?
Nathan Stewart
Registered User
Join date: 2 Feb 2005
Posts: 1,039
10-24-2005 20:16
Seems to be firing for me, tested with the following on the 2 centre points and on body, taking back to inventory and dropping to ground

CODE

default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}

attach(key attached)
{
llSay(0, "attachevent.");
}
}
_____________________
cua Curie
secondlifes.com/*****
Join date: 14 Nov 2003
Posts: 196
10-24-2005 20:27
OK I think I've narrowed it down. It appears to be attach events in child prims of any type of attachment that are not firing.
Nathan Stewart
Registered User
Join date: 2 Feb 2005
Posts: 1,039
10-24-2005 20:31
I know that event had some work done on it so its quite possible, let me try
_____________________
Nathan Stewart
Registered User
Join date: 2 Feb 2005
Posts: 1,039
10-24-2005 20:35
Ok appears to be affecting not just hud but all attach points so i've confirmed your bug and expanded
_____________________
Francis Chung
This sentence no verb.
Join date: 22 Sep 2003
Posts: 918
10-25-2005 03:37
One possible solution is to use on_rez() events instead of attach() events in. (What I do)

Another potential solution is to have an attach() event in the root prim that link messages child prims saying, "Hey! We had an attach event".
_____________________
--
~If you lived here, you would be home by now~