onBriefingTeamSwitch: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Added to Team Switch command group, reworked some parts)
Line 8: Line 8:
|gr2= Sounds |GROUP2=
|gr2= Sounds |GROUP2=


|gr3= Event Handlers |GROUP3=
|gr3= Team Switch |GROUP3=
 
|gr4= Event Handlers |GROUP4=


|1.00|Game version=
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Select a sound declared in the [[Description.ext#CfgSounds|Description.ext]] of the mission to be played the first time the [[Briefing.html#Team|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=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 23: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>onBriefingTeamSwitch "TeamSwitchVoiceOver";</code> |EXAMPLE1=
|x1= <code>[[onBriefingTeamSwitch]] "TeamSwitchVoiceOver";</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Team Switch]], [[enableTeamSwitch]], [[onTeamSwitch]], [[teamSwitch]], [[teamSwitchEnabled]], [[Description.ext#CfgSounds|CfgSounds]] |SEEALSO=
| [[enableTeamSwitch]], [[onTeamSwitch]], [[teamSwitch]], [[teamSwitchEnabled]], [[Description.ext#CfgSounds|CfgSounds]] |SEEALSO=
}}
}}



Revision as of 12:49, 13 November 2020

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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

See also:
enableTeamSwitchonTeamSwitchteamSwitchteamSwitchEnabledCfgSounds

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