OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Speeder on 19 Aug 2005, 15:43:16

Title: Music in Briefing
Post by: Speeder on 19 Aug 2005, 15:43:16
Trapper wrote:

 Must be these commands:

onBriefingGear sound
onBriefingGroup sound
onBriefingNotes sound
onBriefingPlan sound

Description:
    Define sound (voice) played first time when section Plan in briefing is selected.

Example:
    onBriefingPlan "PlanVoiceOver"

As far as I know the problem is that the sound is stopped/changed as soon as the player changes the briefing selection.

But from where do I execute the code - onBriefingPlan "PlanVoiceOver" ????

I still have to define the sound in the description right?
Title: Re:Music in Briefing
Post by: THobson on 19 Aug 2005, 15:57:16
Quote
from where do I execute the code
Put them in init.sqs

Quote
I still have to define the sound in the description right?
Correct
Title: Re:Music in Briefing
Post by: Speeder on 19 Aug 2005, 16:06:37
tnx for quick answer.