Jump to content

ServerMissionStats

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: ServerMissionStats
Function Description: Reports the number of active and total units, groups, and players for each coalition in the current mission.
File Location: cmm.DCSFunctions.lua
Syntax: CMM.ServerMissionStats( number or nil UnitID )
Return Value: nil
Parameters: Name Description
UnitIDID of a unit to send the report to; if nil broadcast to all units.
Example: CMM.ServerMissionStats(nil)
Example Description: Prepares and sends sends a performance report to all in SP or to the originator of the mapMarker request in MP
Related Functions:
Notes: