Home   Help Search Login Register  

Author Topic: How to continue one sound again and again...?  (Read 830 times)

0 Members and 1 Guest are viewing this topic.

pertti49

  • Guest
How to continue one sound again and again...?
« on: 28 Nov 2002, 20:59:43 »
I put trigger continouasly but it whount play the battlesound again when its stop its stop?? :(so how can i continue playing that sound without brakes?
greetings:pertti49
« Last Edit: 28 Nov 2002, 21:02:28 by pertti49 »

Captain Winters

  • Guest
Re:How to continue one sound again and again...?
« Reply #1 on: 29 Nov 2002, 03:29:52 »
this wat it'll play forever:

#loop
playMusic <music name>
goto "loop"


playMusic could be subsitiuted with playSound Also.
___________________
___________________
CAPN' WINTERS OUT!

pertti49

  • Guest
Re:How to continue one sound again and again...?
« Reply #2 on: 29 Nov 2002, 04:25:44 »
Where i add this loop? like in activation field?like this?#loop playmusic/sound"battle" goto "loop", or do i have to ad this loop in ext file somewhere?
greetings:pertti49

LAPD

  • Guest
Re: How to continue one sound again and again...?
« Reply #3 on: 29 Nov 2002, 13:30:23 »
Open Notepad and type this:

Quote
#loop
playMusic <music name>
goto "loop"

Then save the file as Battlesound.sqs (you must save it as *.sqs, not *.sqs.txt, you can do it in the saving screen in Notepad by selecting "all files") in your mission folder.
After that, in the trigger activation field, you write that:
Quote
[] exec "BattleSound.sqs"

That's should work, this is my way.  :)

Captain Winters

  • Guest
Re:How to continue one sound again and again...?
« Reply #4 on: 30 Nov 2002, 03:03:03 »
Yes LAPD is right. I dont think u can use it in a trigger.
____________________
____________________
Capn' Winters Out!