Function; setMissionComplete - HWRM/KarosGraveyard GitHub Wiki
setMissionComplete(<bMissionComplete>)
Description
Ends the mission with either an "complete" or "incomplete" status.
If the .campaign file associated with the gamerule uses the postLevelComplete function, then the next mission will automatically begin if <bMissionComplete> is set to 1.
Note: this function can only be used inside singleplayer campaigns. Use setGameOver to end the game in multiplayer/skirmish or stand-alone/tutorial missions. setGameOver also works in a campaign mission with a postLevelComplete function; it ends the game and starts the next mission. -SunTzu
Example
setMissionComplete(0)
Arguments
<bMissionComplete>: 0 = incomplete, 1 = complete.
Related Pages
Comments
Modified to explain how it works with psotlevelComplete
--SunTzu (2006-01-05 15:28:48)
Slight grammar fix.
--0-3pool107-112.nas29.houston4.tx.us.da.qwest.net (2006-01-09 23:11:25)
Page Status
Updated Formatting? Initial
Updated for HWRM? Initial