Jump to content
Sign in to follow this  
AustinAtSt

Looping music while in combat

Recommended Posts

Im a bit of a script noob and i tried making a condition that when a player is in combat, music plays.

So far im only able to get music playing once Opfor detects Blufor using triggers. This works fine, but i want to elaborate on it by making music

only play once players are in combat.

I have the looping music script, but how do I activate it when OpFor are firing at Blufor? Or vice-versa?

Share this post


Link to post
Share on other sites
Im a bit of a script noob and i tried making a condition that when a player is in combat, music plays.

So far im only able to get music playing once Opfor detects Blufor using triggers. This works fine, but i want to elaborate on it by making music

only play once players are in combat.

I have the looping music script, but how do I activate it when OpFor are firing at Blufor? Or vice-versa?

You can use a "fired" eventhandler.

Look here.

Share this post


Link to post
Share on other sites

I cant seem to get any script working for that. I have no idea how to code anything on my own

Share this post


Link to post
Share on other sites

So far im only able to get music playing once Opfor detects Blufor using triggers. This works fine, but i want to elaborate on it by making music.

Edited by maya112

Share this post


Link to post
Share on other sites
Sign in to follow this  

×