onBriefingNotes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofpr |Game name=
| ofpr |Game name=
Line 11: Line 10:


|gr3= Event Handlers |GROUP3=
|gr3= Event Handlers |GROUP3=
____________________________________________________________________________________________


| Select a sound declared in the [[Description.ext#Sound|Description.ext]] of the mission to be played the first time the [[Briefing.html#Notes|Notes tab]] is selected in the [[Briefing.html|briefing]]. |DESCRIPTION=
| Select a sound declared in the [[Description.ext#Sound|Description.ext]] of the mission to be played the first time the [[Briefing.html#Notes|Notes tab]] is selected in the [[Briefing.html|briefing]]. |DESCRIPTION=
____________________________________________________________________________________________


| '''onBriefingNotes''' soundName |SYNTAX=
| '''onBriefingNotes''' soundName |SYNTAX=
Line 21: Line 18:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[[onBriefingNotes]] "NotesVoiceOver";</code> |EXAMPLE1=
|x1= <code>[[onBriefingNotes]] "NotesVoiceOver";</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[Description.ext#Sounds|CfgSounds]] |SEEALSO=
| [[Description.ext#Sounds|CfgSounds]] |SEEALSO=

Revision as of 02:52, 17 January 2021

Hover & click on the images for description

Description

Description:
Select a sound declared in the Description.ext of the mission to be played the first time the Notes tab is selected in the briefing.
Groups:
SoundsBriefingEvent Handlers

Syntax

Syntax:
onBriefingNotes soundName
Parameters:
soundName: String
Return Value:
Nothing

Examples

Example 1:
onBriefingNotes "NotesVoiceOver";

Additional Information

See also:
CfgSounds

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Posted on 8 Feb, 2007
Bdfy
In OFP it works only with the sound files defined in the mission's description.ext

Bottom Section