Function; setMissionComplete
setMissionComplete(<bMissionComplete>)
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
setMissionComplete(0)
<bMissionComplete>: 0 = incomplete, 1 = complete.
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)
Updated Formatting? Initial
Updated for HWRM? Initial
| Home | Search | Recent Changes | Revision History | About | User Help | Contributor Help | Discussion |