Page 1 of 1

VTE Music

Posted: 2012-01-11 08:12:19
by drift501
Hello. I want to know if it is possible to make music play from a UH-1H slick after it reaches a certain checkpoint and if it is what do I have to do. If it involves executing pbo files I would need to know a full list of songs and their pbo file names.
Thanks.

Re: VTE Music

Posted: 2012-01-11 08:42:17
by Snake Man
You can see the music class name list in PMC Addons/mods online manual: ArmA VTE class names - music. Don't worry about it being ArmA instead of ArmA 2, the class name list is the same.

To play it, use like:

Code: Select all

playMusic ["trackName", 0];
The reaching of waypoint is kind of basic editing question already and there is various methods to do that, most simplest is to add "event" into the waypoint in mission editor.

Re: VTE Music

Posted: 2012-01-14 10:15:06
by drift501
Been away for the week. Sorry but Im a noob at this sort of stuff. Do I put that playMusic script in a units init line.

Re: VTE Music

Posted: 2012-01-14 13:34:44
by Snake Man
Put it in the helicopter's waypoint where you want the music to start to play.

Re: VTE Music

Posted: 2012-01-15 06:44:16
by drift501
Thanks. I found an easier way. In the waypoint placement screen go effects then in Track you can select VTE music.