OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: barcode6 on 30 Jan 2003, 05:10:15

Title: Can intro music continue in mission ?
Post by: barcode6 on 30 Jan 2003, 05:10:15
Hi all,

I've been looking for a while now, and it appears this question hasn't been asked yet.  I have music playing for my intro, but I would like it to continue into the first part of the mission.  Is there a way to do this?  As I have it now, the music quits when the intro is over, but since the mission begins with a short flight to the lz, i would like it to continue until the helos hit the LZ.  I tried to do it all in the mission itself, but ran into a problem with the group limitation and had to seperate the intro and mission proper.  Any ideas would be greatly appreciated, or just a word to let me know Im out of luck.

Thanks!
Title: Re:Can intro music continue in mission ?
Post by: Black_Feather on 30 Jan 2003, 15:04:23
you can use this

playmusic ["musicname",15]

to start the music 15 seconds in, if you time your intro you should be able to get it roughly the same, although it won't be perfect.
Title: Re:Can intro music continue in mission ?
Post by: barcode6 on 30 Jan 2003, 19:35:21
Thanks Black Feather.

I edited the track to stop and start at the right moment, but you're right, it's not perfect.  I'll keep trying.   ;D

Edit: Still no luck with the edit, but I've managed to get around the group limit by reusing units in the cutscene and missions.