Problem with multiple linked prims, llSetAlpha(), and llSay() between prims
|
|
Jakob Zander
Registered User
Join date: 22 May 2004
Posts: 3
|
01-08-2008 16:56
I'm working on a project where parts of the whole object are set to invisable until they receive a message from a script in the root of the object that tells them to decloak.
The object works correctly when not worn, however, when worn, the prims that are invisable never decloak.
Are there permissions that I'm missing that need to be in place if the object is worn?
Thanks,
Jakob
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
01-08-2008 17:33
use llMessageLinked instead of llSay...
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Jakob Zander
Registered User
Join date: 22 May 2004
Posts: 3
|
01-09-2008 15:17
I did change to that and it does work. However, I did forget to mention that the object is for paying.
With that said, the money() event seems to not trigger when the object is worn. I am assuming this is function by design. If I take the object off, the money() event is triggered when someone pays it.
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
01-09-2008 15:27
From: Jakob Zander I did change to that and it does work. However, I did forget to mention that the object is for paying.
With that said, the money() event seems to not trigger when the object is worn. I am assuming this is function by design. If I take the object off, the money() event is triggered when someone pays it. Per the old wiki: "Money cannot be paid to an attachment; while there is a "Pay" option on the pie menu, paying money to an attachment will not cause the money() event to be triggered."
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Jakob Zander
Registered User
Join date: 22 May 2004
Posts: 3
|
01-09-2008 15:40
Any suggestions on a way to get around this?
|
|
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
|
01-09-2008 16:27
Have the object rez another object, have the user pay that? Hard to say without knowing more about what you're trying to do.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
01-09-2008 20:52
the reason the object can't be paid when it's an attachment, is because it gets treated as part of the av... so the money event gets defaulted to the av... Ziggys suggestion of rezzing a separate prim to accept payments with the money event is the only workaround
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Kahiro Watanabe
Registered User
Join date: 28 Sep 2007
Posts: 572
|
01-10-2008 06:26
We should take a look at the script, as Void said: you should you llMessageLinked. Using llSay() for communications between linked prims is a sin! 
|