Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
|
05-17-2004 01:05
I may be mistaken, but I'm pretty sure listen events are ditched during a state change.
I have a device that sends a "ping" when it's first rezed or created to find out whats around it.
The device switches between different states, and I find that certain critical ping responses are lost during the state changes.
I'd like it to be possible to make it so listen events that arrive during the state change dont fall into the void.
Off the top of my head, one way to do this would be llGlobalListener( integer iChannel, ... ); which declares a listener global to the script, and passes any listen events that occur during state change to the new state.
Azelda
|
Shorahmin Femto
Senior Citizen
Join date: 27 Feb 2004
Posts: 34
|
05-17-2004 02:05
Hi Azelda, one way to do the same thing for now would be to put your "pinger" in its own script that would never change state, just "listen" forever. Then rebroadcast the pongs (ping echos) using a handshake protocol to make sure they were received by everyone on the partyline channel.
Does anybody know the difference between a junior member and a senior member. I'm having "status" envy.
_____________________
Time is granular, Object Oriented, re-entrant, recursive, and therefore manifold.
|
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
|
05-17-2004 09:47
Number of posts. Honestly, most people's titles never stay "Senior Member" for long, since most just go to the user control panel and change it (drop down menu at the bottom of this page).
_____________________
</sarcasm>
|