Jump to content

CheckReslot

From CMM Wiki
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: