Jump to content

SetMarker

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: SetMarker
Function Description: Updates the colour, line type or both of an existing marker.
File Location: cmm.drawFunctions.lua
Syntax: CMM.SetMarker( table argTbl )
Return Value:
Parameters: Name Description
argTblMarker Argument Table (argTbl[1] = marker ID, [2] = fill colour, [3] = line colour, [4] = line type).
Example: CMM.SetMarker{1234, {r=0,g=1,b=0,a=1}, {r=1,g=1,b=1,a=1}, 2}
Example Description: Sets marker 1234 to a green fill, white outline and dashed line.
Related Functions:
Notes: