Home   Help Search Login Register  

Author Topic: No Reapeated PlaySound  (Read 835 times)

0 Members and 1 Guest are viewing this topic.

VipNatePimp

  • Guest
No Reapeated PlaySound
« on: 24 Sep 2003, 02:08:00 »
I created my own sound and I wanted it to reapeat every 2 seconds (it only 1 second long... a gun fire sound) I wait for 2 seconds for it to play and it does, but then after 2 more seconds nothing happens... what am i doing wrong... heres my trigger pro.

-300 by 300
-Activated: Anybody
-Present
-Reapeatly
-Min:2 Max:2 Mid:2
-Activation: playsound "VeryDistantGuns"


Captain Winters

  • Guest
Re:No Reapeated PlaySound
« Reply #1 on: 24 Sep 2003, 03:20:03 »
use this script:

#loop
playSound "Blah"

~2

goto "loop"

it shuld work good  ;D ok i made it its gona work like magik!  :P ::) ;D

Tanks!  8)

VipNatePimp

  • Guest
Re:No Reapeated PlaySound
« Reply #2 on: 24 Sep 2003, 03:40:30 »
OK lol... hehe ur never on anymore lol (bigpickle11) lol
anyway thats off the subject......

Thanx

Knut Erik

  • Guest
Re:No Reapeated PlaySound
« Reply #3 on: 24 Sep 2003, 11:04:46 »
If you want the sound to stop after a while.. Try this one  ;)

#SoundLoop
Playsound "Blah"
~2
!?Stop : goto "SoundLoop"

EXIT


If you flip the variable "Stop" to true, the sound would stop  :D
Stop = True