If reference to:
/54/c0/185465/1.html
After a state_entry, on_rez, or attach to get the current llGetOwner key. Would calling llListen with that new found key be harmful if llListen is called in multiple events?
These forums are CLOSED. Please visit the new forums HERE
Calling llListen() in different events... |
|
|
Cryas Tokhes
Great Googley Moogley...
Join date: 8 Feb 2006
Posts: 124
|
05-22-2007 15:03
If reference to:
/54/c0/185465/1.html After a state_entry, on_rez, or attach to get the current llGetOwner key. Would calling llListen with that new found key be harmful if llListen is called in multiple events? |
|
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
|
05-22-2007 15:56
To be safe, you could use llListenRemove() before calling a new listen (if you only want to open one listen at a time).
For example, declare a global integer: integer handle; Then, when you open a listen, remove any existing listen first: llListenRemove(handle); handle = llListen(channel, "", llGetOwner(), "" ; |