I'll try to be as clear as possible with my question...
Is there anyway to end a sound?
Example:
Game type: RPG
I have a city, I want a certain type of music to play when my character is in this city, but I want the music to stop when I leave the city.
Trigger 1:
start on
looping off
~~~~~~
condition 1 (inside of city)
objects in area: 1
effect 1
play sound: (insert random music here)
effect 2
attivate trigger 2
Trigger 2:
start off
looping off
~~~~~~
condition 1 (outside of city)
objects in area: 1
effect 1
deactivate trigger 1
effect 2
activate trigger 3
Trigger 3:
start off
looping off
~~~~~~
condition 1 (inside of city)
objects in area: 1
effect 1
play sound: (insert same random music)
effect 2
activate trigger 2
Now the music will play each time I enter the city, but I want it to stop playing as soon as I complete trigger 2, is ending the music possible? Or will I have to let it run it's course?
Is there anyway to end a sound?
Example:
Game type: RPG
I have a city, I want a certain type of music to play when my character is in this city, but I want the music to stop when I leave the city.
Trigger 1:
start on
looping off
~~~~~~
condition 1 (inside of city)
objects in area: 1
effect 1
play sound: (insert random music here)
effect 2
attivate trigger 2
Trigger 2:
start off
looping off
~~~~~~
condition 1 (outside of city)
objects in area: 1
effect 1
deactivate trigger 1
effect 2
activate trigger 3
Trigger 3:
start off
looping off
~~~~~~
condition 1 (inside of city)
objects in area: 1
effect 1
play sound: (insert same random music)
effect 2
activate trigger 2
Now the music will play each time I enter the city, but I want it to stop playing as soon as I complete trigger 2, is ending the music possible? Or will I have to let it run it's course?
[This message has been edited by Vagerdahast (edited 01-11-2008 @ 11:18 PM).]