|
Ground of Aces Modding
|
Missions.get_mission_result
| mission_entity_id | Entity ID of the mission currently accessing the mission script |
Boolean True when the mission succeeded.
Event handler that decides whether a mission is successful or not. It is called once, when the flight completes, and only for a mission without a .json - a mission with JSON picks one of its four _missionOutcomes from the as-planned roll and the skill roll instead, and never calls this handler.
For a mission without JSON it is required: if it is missing the game throws Mission result not available when the flight completes. After it returns, set_mission_impact runs and the result is written to the mission.