Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Can a llEmail to a linked object trigger an email() event in the calling object???

Greg Hauptmann
Registered User
Join date: 30 Oct 2005
Posts: 283
03-23-2006 00:28
Can a llEmail to a linked object trigger an email() event in the calling object??? So can an email from PRIM A to PRIM B (where they are linked) trigger an email() event in PRIM A (where the email() event in prim A may be in a different script to the llEmail sending script)

This might explain what I think I'm seeing...but I'm still debugging for the moment.
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
03-23-2006 01:09
acc to the wiki

From: someone


These emails will always have the sender [key]@lsl.secondlife.com where [key] is the asset-ID of the scripted object sending the email (see llGetKey).


now i know that the wording in the wiki isnt 100% correct all of the time but it does say key of the object so i would assume yes both are getting triggered
Greg Hauptmann
Registered User
Join date: 30 Oct 2005
Posts: 283
03-23-2006 02:02
ouch :eek: - I obviously have missed the subtle difference between prim and object

So in terms of determining what comms (link/chat/email) could be used to commumicate from PRIM A to PRIM X I guess the approach needs to be:
a) cycle through all linked PRIMs to see if it's one of these (i.e. LINK), but if no success
b) can then send email to get objects position hence determine whether CHAT or EMAIL could be choosen

I'll double check on this once the grid is up again :)
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
03-23-2006 07:53
I've rewriten that sentance as to be less diseptive.

From: someone
These emails will always have the sender [key]@lsl.secondlife.com where [key] is the asset-ID of the prim containing the script sending the email (see llGetKey).

llEmail
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey