Jump to content
Sign in to follow this  
Mike006

How stop music?

Recommended Posts

I am new and I would like know... How stop the music after some time??

Example:

With a trigger I play a "sound of ambient" (alarm). Then I want stop the alarm also with a trigger. =)

greetings and sorry for my bad english =P

Share this post


Link to post
Share on other sites

Hi Mike006

my form of doing this is so:

1. Make a trigger. Modify the parameters: ----> "Several times" Condition: "Alarm", click on effects and set, The alarm sound.

2. Make Other trigger. Modify the parameters. Condition: Set the condition you want, I will put "True" and On Activation: "Alarm = True"

3. Make the third trigger. Modify the parameters: Coniditon. Put the condition you want. I'll again "True", but placed in "Countdown" 5, 10, 7, and On Activation: Alarm = False

If you want the music ends in a period of time looking at the command FadeMusic

Regards and Hope thats helps...

sorry for my bad english

~Aldo

Edited by Aldo15

Share this post


Link to post
Share on other sites

YES!! thank thank thank =)

Now I can stop the music (or sounds).

If you want the music ends in a period of time looking at the command FadeMusic

With fadeMusic I "fade" the music but this continue playing (volume 0). =P

I have other question.. How I do to order to a unit of a group that move and halt in a point? (covering)

Example

soldier2 commandMove getpos position2

this example soldier2 goes to position2, then inmediatly return to formation

soldier2 commandMove getpos position2
@unitReady soldier2
commandStop soldier2

this example unitReady not work =(

Share this post


Link to post
Share on other sites
With fadeMusic I "fade" the music but this continue playing (volume 0).

With the command Fademusic, what you do is volumen down to the music, but you can still keep playing.

I have other question.. How I do to order to a unit of a group that move and halt in a point? (covering)

This question does i not understand it. What you say is that a group do move to a point and then stop?

You have to write:

{_x Domove getPos soldier2} foreach units soldier1

~Aldo

Share this post


Link to post
Share on other sites

soldier2 commandMove getpos position2
@unitReady soldier2
commandStop soldier2

this example unitReady not work =(

What does not work for you ? It works perfectly well for me.

Share this post


Link to post
Share on other sites

@Aldo15

I want that the soldier1 indicate to soldier2 that do move and stop in a point. Soldier1 is the leader of group.

group1:
soldier1 (leader)
soldier2 (soldier)
soldier3 (soldier)

@ProfTournesol

Yes, I works fine if soldier2 is the leader of group. But you try with soldier1 like leader. =(

Share this post


Link to post
Share on other sites

toMike006

I want that the soldier1 indicate to soldier2 that do move and stop in a point. Soldier1 is the leader of group.

group1:
soldier1 (leader)
soldier2 (soldier)
soldier3 (soldier)

Yuo would have to use this Command aand for soldiersto stop, you can use this Command

Regards....

Hope that :help:

~Aldo

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×