Ground of Aces Scripting API
|
The game uses mission scripts to define the details of missions that can be carried out by pilots.
Mission scripts are no different than regular scripts and are located in the same script directory, GroundOfAces_Data/StreamingAssets/Scripts
. Although there is a dedicate directory for missions scripts named Mission
.
Mission scripts, unlike normal scripts, have a defined set of event handlers that must be implemented for the mission to function properly, the implementation of the event handler is irrelevant as long as the returning output is as defined in the documentation.
get_mission_id | Get the internal identifier of the mission |
get_mission_name | Get the name of the mission for mission info window |
get_mission_description_text | Get the description of the mission for mission info window |
get_time_to_start | Get the amount of time the player has to start the mission |
get_completion_time | Get the amount of time the mission will last |
get_enemy_count | Get the amount of enemies present in the mission |
get_mission_events_count | Get the amount mission events triggered during the mission |
get_threat_level | Get the threat level displayed in the mission info window |
get_mission_result | Get the result of the mission |
get_mission_fatalities | Get the list of fallen airplanes during the mission |
send_mission_event | Send a mission event |
send_mission_result_event | Send the mission result event |
get_mission_result_text | Get the text displayed in the mission result window |