MarkerRemoveGroup: Difference between revisions
Appearance
Ozdeadmeat (talk | contribs) MarkerRemoveGroup – created via PowerShell script (2025-11-11T21:12:25Z) Tag: Recreated |
Ozdeadmeat (talk | contribs) m MarkerRemoveGroup – created via PowerShell script (2026-06-24T22:26:59Z) |
||
| Line 1: | Line 1: | ||
{{Template:FunctionInfo|fName= MarkerRemoveGroup|fDescription= Removes a group nearest to the marker position | {{Template:FunctionInfo|fName= MarkerRemoveGroup|fDescription= Removes a group nearest to the marker position of a given coaltion if provided|parentFile= cmm.MapCommandFunctions.lua|syntax= CMM.MarkerRemoveGroup(EventData <TBL>)|return= nil|returnDesc= Returns Nothing after processing the event and removing the group based on coalition and text.|example= CMM.MarkerRemoveGroup({pos = <vec3>, text = "Remove: blue")|exampleDesc= Processes a marker removal event a BLUE side group at positions, reports the name of the group removed to the executer of the command.|related= |note= |envType= CMM|par1= table EventData|reqType1= table|reqName1= EventData|desc1= S_EVENT_MARK_REMOVED Event Table containing position, text, and initiator data; used to determine coalition, side, and group name to remove.}} | ||
Latest revision as of 12:26, 24 June 2026
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | MarkerRemoveGroup | |
| Function Description: | Removes a group nearest to the marker position of a given coaltion if provided | |
| File Location: | cmm.MapCommandFunctions.lua | |
| Syntax: | CMM.MarkerRemoveGroup( table EventData ) | |
| Return Value: | nil | |
| Parameters: | Name | Description |
| EventData | S_EVENT_MARK_REMOVED Event Table containing position, text, and initiator data; used to determine coalition, side, and group name to remove. | |
| Example: | CMM.MarkerRemoveGroup({pos = <vec3>, text = "Remove: blue") | |
| Example Description: | Processes a marker removal event a BLUE side group at positions, reports the name of the group removed to the executer of the command. | |
| Related Functions: | ||
| Notes: | ||