|
Rocketman Raymaker
Registered User
Join date: 4 Feb 2007
Posts: 530
|
07-11-2007 02:30
HOw do i send messages between 2 scripts inside one object/prim?
Do i use listens or linked messages?
or is there a better way to do it?
thanks for any help you have to offer
_____________________
"Proud member of the anti-ginko busy body committee"
|
|
Shyan Graves
Registered User
Join date: 10 Feb 2007
Posts: 52
|
07-11-2007 03:33
Maybe this comment from the WiKi will help! From: WiKi Q: I don't get it. Why not just use chat? A: Aside from the fact that an object can't listen to itself, link messages are much faster than using chat functions as well as being private. They're higher-capacity, avoiding chat's 255-character limitations, and use fewer prims. Also, if you tend to have memory overflow problems in a single script, you can use link messages to communicate between scripts in the same object, thus enabling separate storage or even pseudo-multithreading. And finally, as any type can be cast to a string, link messages can transfer all types of data. Regards Shyan
|
|
Rocketman Raymaker
Registered User
Join date: 4 Feb 2007
Posts: 530
|
07-11-2007 04:06
Thanks for the reply 
_____________________
"Proud member of the anti-ginko busy body committee"
|