Difference between revisions of "DCS func getMissionResult"

From DCS World Wiki - Hoggitworld.com
 
(No difference)

Latest revision as of 22:44, 22 April 2018


Environment: 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
Examples:
Related Functions: Control API: setPause, getPause, stopMission, exitProcess, isMultiplayer, isServer, getModelTime, getRealTime, getMissionOptions, getAvailableCoalitions, getAvailableSlots, getCurrentMission, getMissionName, getMissionFilename, getMissionResult, getUnitProperty, getUnitType, getUnitTypeAttribute, writeDebriefing, setUserCallbacks, reloadUserScripts, makeScreenShot
Notes: