Jump to content

menu dialog with timer close listener and another timer


Erik Kesslinger
 Share

You are about to reply to a thread that has been inactive for 2236 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I wanted to get some thoughts on a project in progress.  I have a prim with a script that has an extensive menu(dialog) system.  Being responsible, I have randomly generated menu channels and a handle that is set, and removed after a llsettimerevent(30.0).  so the menu (dialog) won't listen and run forever, 30 sec and it times out or user presses(says) close and menu closes and timer is set to 0.0. 

Ok, so pretty normal menu/dialog system. 

I'd like to add an event that will repeat every (100 seconds or so) that has nothing whatsoever to do with the existing timers.  I keep reading that LSL will only permit one timer per script, which seems understandable because the llsettimerevent has no descriptor to tell one from another.  I did read the following - http://wiki.secondlife.com/wiki/MultiTimer   And - http://wiki.secondlife.com/wiki/Scheduler  - both of these articles sort of parse up the timer event to act like multiple timers.  They still seem to be all connected to the single timer concept.

So my questions are these:  Can two independent timer events or calls to llsettimerevent() be made in same script (and how)?  If not, can they be made in two independent scripts in the SAME prim, and use llMessageLinked (LINK_THIS)between them?  And, If not in same prim, can it be done in two scripts in two linked prims using llMessageLinked(LINK_ALL_CHILDREN) between them?

Thank you all so much in advance!

Erik

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2236 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...