CheckReslot
Appearance
| 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 |
| EventData | Table 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: | ||