finish( success, delay )

instance function

Finsh the current mission.

Arguments

Name Type Description
success Boolean True if the player won the mission
delay Number Delay before the mission is finished