Difference between revisions of "DCS func markToAll"

From DCS World Wiki - Hoggitworld.com
 
Line 3: Line 3:
 
|fName= markToAll
 
|fName= markToAll
  
|vNum= 2.1.0
+
|vNum= 1.5.1/2.1.0
  
 
|par1= [[DCS_singleton_trigger|trigger.action]]
 
|par1= [[DCS_singleton_trigger|trigger.action]]
Line 52: Line 52:
 
}}
 
}}
 
[[Category:Singleton Functions|markToAll]]
 
[[Category:Singleton Functions|markToAll]]
 +
[[Category:Game Patch 1.5.1/2.1.0|markToAll]]

Latest revision as of 22:30, 17 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: markToAll Added with: 1.5.1/2.1.0
Member Of: trigger.action
Syntax: none trigger.action.markToAll(number id , string text , table vec3 , boolean readOnly, string message)
Description: Adds a mark point to all on the F10 map with attached text.

2.5 added the two new variables of readOnly and message. Read only if true will make it so users cannot remove the mark. Message is a message that is displayed when a mark is added. Set to for no message to be added.


Return Value: none
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: Mark point ID must be unique.