Jump to content
Ghost Recon.net Forums

Recommended Posts

I wondered if there was a limit to looping sounds, I have an alarm siren set to go off if certain things happen, it was set to loop for 6 seconds. I changed it to 10 seconds in the script but it still only loops for 6 seconds?

Link to post
Share on other sites

No there is no limit. You may have made a mistake in the script. You can have a sound loop for eternity, but please don't do that with that infernal a_siren.wav :nono: 10 seconds is plenty :yes:

Jack :lol:

Link to post
Share on other sites

If I remember you set the seconds it begins and ends, so if the sound takes 6 seconds it will loop for 6 seconds, even if you tell it to end after 10 seconds.

Am I right here, Jack ?

Probably not :lol:

Link to post
Share on other sites
If I remember you set the seconds it begins and ends, so if the sound takes 6 seconds it will loop for 6 seconds, even if you tell it to end after 10 seconds.

Am I right here, Jack ?

Probably not :lol:

Not quite :P

If you set the parameter to 0 (zero) it will play the sound once. If you set it for any other value it should play for that many seconds. So if a sound is 6 seconds long and you set it to loop for 10 secs it should play 1.6666 times. However, some of the wave files in GR have a relatively large section at the end that is blank. So you may only hear sound for say 3 seconds but the wave is actually 5 seconds long.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...