Ground of Aces Scripting API
Get Mission ID

Mission.get_mission_id

Parameters

mission_entity_id Entity ID of the mission currently accessing the mission script

Returns

String The identifier of the mission script

Description

Event handler that returns the internal identifier of the mission. This identifier is used by the codebase to identify and reference the mission script.

@event_handler(MissionEvent.GET_MISSION_ID)
def get_mission_id(mission_entity_id):
return "mission"

⚠️ Needs to be identical to filename without the .py suffix ⚠️