onBriefingTeamSwitch: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma |= Game name
| arma |Game name=


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


|Select a sound declared in the [[Description.ext#Sound|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 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=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''onBriefingTeamSwitch''' soundName |SYNTAX=
| [[onBriefingTeamSwitch]] soundName |SYNTAX=


|p1= soundName: [[String]] |PARAMETER1=
|p1= soundName: [[String]] |PARAMETER1=
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>onBriefingTeamSwitch "TeamSwitchVoiceOver"</pre> |EXAMPLE1=
|x1= <code>onBriefingTeamSwitch "TeamSwitchVoiceOver";</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


Line 36: Line 35:
[[Category:Scripting Commands ArmA|ONBRIEFINGTEAMSWITCH]]
[[Category:Scripting Commands ArmA|ONBRIEFINGTEAMSWITCH]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Briefing]]
[[Category:Command Group: Team Switch]]

Revision as of 22:25, 8 April 2019

-wrong parameter ("Arma") defined!-1.00
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 TeamSwitch tab is selected in the briefing.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
onBriefingTeamSwitch "TeamSwitchVoiceOver";

Additional Information

See also:
Team SwitchenableTeamSwitchonTeamSwitchteamSwitchteamSwitchEnabledCfgSounds

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