Call of Duty: Black Ops 3 => Help Desk => Scripting => Topic started by: OptomusPrime22 on January 23, 2017, 01:35:06 am
Title: Background Music
Post by: OptomusPrime22 on January 23, 2017, 01:35:06 am
How would I put some back ground music? I want this music to repeate all the time but I want it quite and such, as of right now it is pretty quite but I don't know how to have it looping or implement it into my map.
Title: Re: Background Music
Post by: IDontEvenKnow on January 23, 2017, 07:53:07 am
void <entity> PlaySound(<aliasname>)
Title: Re: Background Music
Post by: ect0 on January 31, 2017, 02:42:26 pm
that made 0 sense atleast give us an insight of what void and all that stuff means
Title: Re: Background Music
Post by: All0utWar on January 31, 2017, 09:23:28 pm
Choose whatever music you want to add. Create a soundalias for it inside user_aliases.csv and make it looping here as well. Then in a script call it like so.
Title: Re: Background Music
Post by: IDontEvenKnow on February 01, 2017, 06:40:41 am
that made 0 sense atleast give us an insight of what void and all that stuff means
It makes perfect sense to anyone with a reasonable amount of programming knowledge.
void <entity> PlaySound(<aliasname>)
void - Returns nothing <entity> - Use this on an entity, such as a player, script model or script brushmodel etc PlaySound - A game function called PlaySound (duh) <aliasname> - the name of the alias you want to play.
It's not that bad. https://steamcommunity.com/sharedfiles/filedetails/?id=842624971