Ground of Aces Scripting API
Get Mission Name

Mission.get_mission_name

Parameters

mission_entity_id Entity ID of the mission currently accessing the mission script

Returns

String The localization key for the mission name

Description

Event handler that returns the localization key used to display the mission name in the mission info window and mission result window. This event handler is invoked during the initialization of the mission.

# Set the localized term for mission_name
localization.SetTerm("en", "mission_name", "Mission name")
@event_handler(MissionEvent.GET_MISSION_DESCRIPTION)
def get_mission_description(mission_entity_id):
# Return the key for the localized mission name
return "mission_name"

⚠️ Localization key needs to be unique to avoid conflicts with other localization entries ⚠️