Jump to content

MarkerSavePersistence

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: MarkerSavePersistence
Function Description: Saves all persistent mission data including banked tables, player-specific data, and support tables when a marker is removed. It notifies the player who triggered the event that persistence has been saved.
File Location: cmm.MapCommandFunctions.lua
Syntax: CMM.MarkerSavePersistence( table EventData )
Return Value: nil
Parameters: Name Description
EventDataS_EVENT_MARK_REMOVED Event Table containing initiator information and event context.
Example: CMM.MarkerSavePersistence{initiator = "Player1"}
Example Description: Triggers persistence save when Player1 removes a marker, saving all mission data and notifying the player that persistence has been saved.
Related Functions:
Notes: Map Command !savestate