DCS func getMissionResult

From DCS World Wiki - Hoggitworld.com

Envrioment: Server
Function: getMissionResult Added with: 2.5.0
Member Of: DCS
Syntax: number DCS.getMissionResult(string side )
Description: Returns the current result for a given coalition as defined by the mission goals in the mission.

Return Value: number
Return Example: 0 to 100
Related Functions: Control API: setPause, getPause, stopMission, exitProcess, isMultiplayer, isServer, getModelTime, getRealTime, getMissionOptions, getAvailableCoalitions, getAvailableSlots, getCurrentMission, getMissionName, getMissionFilename, getMissionResult, getUnitProperty, getUnitType, getUnitTypeAttribute, writeDebriefing, setUserCallbacks, makeScreenShot