Difference between revisions of "DCS func markToAll"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
Line 50: Line 50:
 
|notes= Mark point ID must be unique.  
 
|notes= Mark point ID must be unique.  
  
2.5 initial open beta crashes when calling this function
 
 
}}
 
}}
 
[[Category:Singleton Functions|markToAll]]
 
[[Category:Singleton Functions|markToAll]]

Revision as of 08:59, 8 June 2020

Scripting Root

Envrioment: Mission Scripting
Function: markToAll Added with: 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.