|
Ground of Aces Modding
|
Missions.get_mission_events_count
| mission_entity_id | Entity ID of the mission currently accessing the mission script |
Int The number of progress reports sent during the mission
Event handler that returns how many times send_mission_event fires during the flight. The reports are spread evenly over the flight: each game minute the game computes floor(elapsed / completion time × count) and fires once whenever that number grows.
It is called once, while the mission is created, and only for a mission without a .json - a mission with JSON always sends exactly 3 reports and ignores this handler. When the handler is missing the game uses 3.