onBriefingTeamSwitch: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma1 | | arma1 | ||
|gr1= Briefing | |gr1= Briefing | ||
|gr2= Sounds | |gr2= Sounds | ||
|gr3= Team Switch | |gr3= Team Switch | ||
|gr4= Event Handlers | |gr4= Event Handlers | ||
|1.00 | |1.00 | ||
| 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]]. | | 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]]. | ||
| [[onBriefingTeamSwitch]] soundName | | [[onBriefingTeamSwitch]] soundName | ||
|p1= soundName: [[String]] | |p1= soundName: [[String]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[onBriefingTeamSwitch]] "TeamSwitchVoiceOver";</code> | |x1= <code>[[onBriefingTeamSwitch]] "TeamSwitchVoiceOver";</code> | ||
| [[enableTeamSwitch]], [[onTeamSwitch]], [[teamSwitch]], [[teamSwitchEnabled]], [[Description.ext#CfgSounds|CfgSounds]] | | [[enableTeamSwitch]], [[onTeamSwitch]], [[teamSwitch]], [[teamSwitchEnabled]], [[Description.ext#CfgSounds|CfgSounds]] | ||
}} | }} | ||
Revision as of 01:27, 18 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
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