onBriefingGear: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofpr |Game name=
| ofpr


|1.75|Game version=
|1.75


|gr1= Event Handlers |GROUP1=
|gr1= Event Handlers
|gr2= Sounds |GROUP2=
|gr2= Sounds
|gr3= Briefing |GROUP3=
|gr3= Briefing


| 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]].


| '''onBriefingGear''' soundName |SYNTAX=
| '''onBriefingGear''' soundName


|p1= soundName: [[String]] |PARAMETER1=
|p1= soundName: [[String]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
   
   
|x1= <code>[[onBriefingGear]] "GearVoiceOver"</code> |EXAMPLE1=
|x1= <code>[[onBriefingGear]] "GearVoiceOver"</code>


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


}}
}}

Revision as of 02:24, 18 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