Difference between revisions of "DCS func addOtherCommandForCoalition"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
Line 3: Line 3:
 
|fName= AddOtherCommandForCoalition
 
|fName= AddOtherCommandForCoalition
  
|vNum= 1.2.0
+
|vNum= 1.2.4
  
 
|par1= [[DCS_singleton_trigger|trigger.action]]
 
|par1= [[DCS_singleton_trigger|trigger.action]]
Line 47: Line 47:
 
}}
 
}}
 
[[Category:Singleton Functions|addOtherCommandForCoalition]]
 
[[Category:Singleton Functions|addOtherCommandForCoalition]]
 +
[[Category:Game Patch 1.2.4|addOtherCommandForCoalition]]

Latest revision as of 22:28, 17 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: AddOtherCommandForCoalition Added with: 1.2.4
Member Of: trigger.action
Syntax: function trigger.action.AddOtherCommandForCoalition(enum coalition , string name , string userFlagName , string userFlagValue )
Description: Adds a command to the "F10 Other" radio menu allowing players to call commands and set flags within the mission. Command is added for all players belonging to the specified coalition. The string name is the text that will be displayed in the F10 Other menu and is also used in the function to remove the command from the menu.


Return Value: function
Return Example: none
Examples:
Related Functions: Trigger Functions: ctfColorTag, getUserFlag, setUserFlag, getZone, explosion, smoke, effectSmokeBig, effectSmokeStop, illuminationBomb, signalFlare, radioTransmission, stopRadioTransmission, setUnitInternalCargo

outSound, outSoundForCoalition, outSoundForCountry, outSoundForGroup, outSoundForUnit, outText, outTextForCoalition, outTextForCountry, outTextForGroup, outTextForUnit

addOtherCommand, removeOtherCommand, addOtherCommandForCoalition, removeOtherCommandForCoalition, addOtherCommandForGroup, removeOtherCommandForGroup

markToAll, markToCoalition, markToGroup, removeMark, markupToAll, lineToAll, circleToAll, rectToAll, quadToAll, textToAll, arrowToAll, setMarkupRadius, setMarkupText, setMarkupFontSize, setMarkupColor, setMarkupColorFill, setMarkupTypeLine, setMarkupPositionEnd, setMarkupPositionStart

setAITask, pushAITask, activateGroup, deactivateGroup, setGroupAIOn, setGroupAIOff, groupStopMoving, groupContinueMoving

Notes: