Jump to content

CheckReslot

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (CheckReslot – created via PowerShell script (2025-11-11T21:12:53Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: CheckReslot
Function Description: Checks for health discrepancies during takeoff to detect reslot events, clearing sortie data if health increases unexpectedly and logging the event.
File Location: cmm.XpFunctions.lua
Syntax: CMM.CheckReslot( table EventData )
Return Value:
Parameters: Name Description
EventDataTable containing event points that form a polygon or zone string; includes initiator unit data for health and player identification.
Example: CMM.CheckReslot({initiator = <UnitObject>, pos = <vec3>})
Example Description: Triggers reslot detection when a player's health increases after takeoff, wipes sortie data, and notifies the player of the event.
Related Functions:
Notes: