onBriefingGear: Difference between revisions

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


| ofpr |Game name=
| ofpr |Game name=
Line 9: Line 8:
|gr2= Sounds |GROUP2=
|gr2= Sounds |GROUP2=
|gr3= Briefing |GROUP3=
|gr3= Briefing |GROUP3=
____________________________________________________________________________________________


| Select a sound declared in the [[Description.ext#Sound|Description.ext]] of the mission to be played the first time the [[Briefing.html#Gear|Gear 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#Gear|Gear tab]] is selected in the [[Briefing.html|briefing]]. |DESCRIPTION=
____________________________________________________________________________________________


| '''onBriefingGear''' soundName |SYNTAX=
| '''onBriefingGear''' soundName |SYNTAX=
Line 19: Line 16:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[[onBriefingGear]] "GearVoiceOver"</code> |EXAMPLE1=
|x1= <code>[[onBriefingGear]] "GearVoiceOver"</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 Gear tab is selected in the briefing.
Groups:
Event HandlersSoundsBriefing

Syntax

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

Examples

Example 1:
onBriefingGear "GearVoiceOver"

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 August 29, 2013
Killzone_Kid
This command is not present in Arma 3

Bottom Section