DrawFatCow
Appearance
| 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 |
| vec3 | World position where the fat‑cow should be drawn. | |
| coal | Coalition of the marker (-1 for all, 0 for neutral, 1 for Redfor, 2 for Blufor). Defaults to -1. | |
| owner | Colour/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: | ||