Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/recorder/fnc_handleCustomEvent.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
Examples:
(start code)
// Sector captured with structured data (sent by fnc_trackSectors)
[QGVARMAIN(customEvent), ["captured", ["sector", "Sector Alpha", str west, getPos _sector]]] call CBA_fnc_localEvent;
[QGVARMAIN(customEvent), ["captured", ["sector", "Sector Alpha", str west, getPosASL _sector]]] call CBA_fnc_localEvent;

// End mission with side and message
[QGVARMAIN(customEvent), ["endMission", [str west, "BLUFOR controlled all sectors!"]]] call CBA_fnc_localEvent;
Expand Down
2 changes: 1 addition & 1 deletion addons/recorder/fnc_trackSectors.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if (_this isEqualType [] && {count _this > 0}) exitWith {
if (_name isEqualTo "") then { _name = vehicleVarName _sector };
if (_name isEqualTo "") then { _name = str _sector };

private _pos = getPosATL _sector;
private _pos = getPosASL _sector;
if (_newOwner isEqualTo sideUnknown) then {
[QGVARMAIN(customEvent), ["contested", ["sector", _name, "", _pos]]] call CBA_fnc_localEvent;
} else {
Expand Down