Jump to content

AWARD CARRIERLANDING

From CMM Wiki
Revision as of 12:27, 24 June 2026 by Ozdeadmeat (talk | contribs) (AWARD_CARRIERLANDING – created via PowerShell script (2026-06-24T22:27:31Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: AWARD_CARRIERLANDING
Function Description: Checks if a player earned a refueling bonus during a sortie by measuring the time between the start of refueling and its end, awarding the bonus if it exceeds 30 seconds and the player hasn't already received it.
File Location: cmm.XpFunctions.lua
Syntax: CMM.AWARD_CARRIERLANDING( table PlayerAircraft )
Return Value:
Parameters: Name Description
PlayerAircraftEvent table from a refueling stopped event containing initiator, time, and position; used to determine the duration of refueling and trigger award logic.
Example: CMM.AWARD_CARRIERLANDING(PlayerAircraft)
Example Description: Sets the Sortie Bonus for a Carrier Landing for all crew members in the airframe.
Related Functions:
Notes: --TODO Code review required