Jump to content

Playing sound with delay..is it possible


NawaliaTrea
 Share

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

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

Recommended Posts

Hi there,

I have a question..is it possible to play a sound with a delay? i mean the sound will play immediately after the trigger is triggered, in my my case is triggered by a chat command. i am wondering if it is possible for the sound being played like  maybe 0.5 sec after the trigger is posted? i haves been searching the wiki about this but i think i didn't find any. thank you soo much

Link to comment
Share on other sites

3 hours ago, Wulfie Reanimator said:

You could use a timer, so llSetTimerEvent and the "timer" event.

Or, to make things very simple, just use llSleep to "pause" the script for a short moment. 

yayy....llSleep worked like magic ...thank you soo much

Link to comment
Share on other sites

3 hours ago, Rachel1206 said:

Just remember llSleep() delay the whole script the specified amount of time. The timer event is simple to make and should always preferred:

 

...

Yes you're right, the sound in my script is together with an animation and draw/sling script. the draw/sling is fine but sound and animation got delayed. have to try with timer.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2201 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...