This AI is still in early stages of development.
Â
Mission.onFinish = function( success ) { // do stuff }
Boolean
Constant
Defines whether the mission is successful or not.:
Mission.SUCCESSFUL
true
Mission.FAILED
false
Return value not processed.
This event uses the Events API.
Mission.onFinish( success ) { gameOverMessage( success ); }
Requires:
Jump to:
Related articles: