Jump to content

DrawFatCow

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (DrawFatCow – created via PowerShell script (2025-11-11T21:12:18Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: DrawFatCow
Function Description: Creates a “fat‑cow” marker – a circular outline with an overlaid cow silhouette – used to denote a friendly or neutral area.
File Location: cmm.drawFunctions.lua
Syntax: CMM.DrawFatCow( table vec3 , number coal , number owner )
Return Value: table
Parameters: Name Description
vec3World position where the fat‑cow should be drawn.
coalCoalition of the marker (-1 for all, 0 for neutral, 1 for Redfor, 2 for Blufor). Defaults to -1.
ownerColour/ownership indicator – determines which colour is used for the circle and cow silhouette (-1 or any value other than 1 or 2 → Neufor, 1 → Redfor, 2 → Blufor). Defaults to -1.
Example: CMM.DrawFatCow({x = 500, y = -100, z = 300}, 2, 2)
Example Description: Draws a blue fat‑cow at the given coordinates.
Related Functions:
Notes: