fnc_exportData.sqf | |
Functions | |
OCAP_recorder_fnc_exportData | This function facilitates the actual endMission and save events in the extension, prompting it to pack the mission and upload it to the web component. |
This function facilitates the actual endMission and save events in the extension, prompting it to pack the mission and upload it to the web component.
Called directly, it is subject to the OCAP_settings_minMissionTime setting, and will not export if the mission is not long enough. It can also be called using OCAP_listener_exportData to bypass this check.
When OCAP_settings_saveMissionEnded is true, this function will be called automatically when the mission ends.
When OCAP_settings_saveOnEmpty is true, this function will execute when the last player leaves the mission (to lobby or when disconnecting).
OCAP_settings_saveTag is used to tag the mission with a custom string, which can be used to identify the mission in the web component.
_side | The winning side [optional, Side] |
_message | A custom description of how the victory was achieved [optional, String] |
_tag | A custom tag to override that which is defined in userconfig.hpp that will make it filterable in web [optional, String] |
Nothing
// "Mission ended" [] call FUNC(exportData); // "BLUFOR Win." [west] call FUNC(exportData); // "OPFOR Win. OPFOR controlled all sectors! [east, "OPFOR controlled all sectors!"] call FUNC(exportData); // "Independent Win. INDFOR stole the intel!" // Mission is saved under filterable "SnatchAndGrab" tag on web [independent, "INDFOR stole the intel!", "SnatchAndGrab"] call FUNC(exportData); ["OCAP_exportData", west] call CBA_fnc_serverEvent;
No
Dell, Zealot, IndigoFox, TyroneMF