DCS func getMissionResult

From DCS World Wiki - Hoggitworld.com
Revision as of 22:44, 22 April 2018 by Grimes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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
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, makeScreenShot
Notes: