|
Ground of Aces Modding
|
Missions.get_mission_id
| mission_entity_id | Entity ID of the mission currently accessing the mission script |
String The identifier of the mission
Event handler that returns the internal identifier of the mission. The game does not call it for its own use; it looks for a get_mission_id handler in a module named exactly like the mission to decide whether that mission has a script of its own, and the shared default_mission.py calls it to build the text keys.
.json must define it, in a .py whose file name is the mission id - otherwise the mission does not exist as far as the game is concerned..json does not need it: it is inherited from default_mission.py, which answers with missions_api.GetMissionId(mission_entity_id).⚠️ The returned string, the .py file name and the .json file name (if any) must all be identical ⚠️