onBriefingTeamSwitch: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 13: | Line 12: | ||
|1.00|Game version= | |1.00|Game version= | ||
| Select a sound defined in the [[Description.ext#CfgSounds|CfgSounds]] of the mission to be played the first time the TeamSwitch tab is selected in the [[Briefing.html|briefing]]. |DESCRIPTION= | | Select a sound defined in the [[Description.ext#CfgSounds|CfgSounds]] of the mission to be played the first time the TeamSwitch tab is selected in the [[Briefing.html|briefing]]. |DESCRIPTION= | ||
| [[onBriefingTeamSwitch]] soundName |SYNTAX= | | [[onBriefingTeamSwitch]] soundName |SYNTAX= | ||
Line 23: | Line 20: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[[onBriefingTeamSwitch]] "TeamSwitchVoiceOver";</code> |EXAMPLE1= | |x1= <code>[[onBriefingTeamSwitch]] "TeamSwitchVoiceOver";</code> |EXAMPLE1= | ||
| [[enableTeamSwitch]], [[onTeamSwitch]], [[teamSwitch]], [[teamSwitchEnabled]], [[Description.ext#CfgSounds|CfgSounds]] |SEEALSO= | | [[enableTeamSwitch]], [[onTeamSwitch]], [[teamSwitch]], [[teamSwitchEnabled]], [[Description.ext#CfgSounds|CfgSounds]] |SEEALSO= |
Revision as of 01:57, 17 January 2021
Description
- Description:
- Select a sound defined in the CfgSounds of the mission to be played the first time the TeamSwitch tab is selected in the briefing.
- Groups:
- BriefingSoundsTeam SwitchEvent Handlers
Syntax
- Syntax:
- onBriefingTeamSwitch soundName
- Parameters:
- soundName: String
- Return Value:
- Nothing
Examples
- Example 1:
onBriefingTeamSwitch "TeamSwitchVoiceOver";
Additional Information
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
Bottom Section
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Command Group: Briefing
- Command Group: Sounds
- Command Group: Team Switch
- Command Group: Event Handlers
- Arma 2: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands