use netId in dairy entry link for dedicated to work
This commit is contained in:
@@ -112,14 +112,18 @@ private _distinctVehiclesClassNames = [];
|
||||
};
|
||||
|
||||
// Link to show markers
|
||||
_recordText pushBack format[
|
||||
private _showMarkersText = format[
|
||||
"<execute expression='[""%1"",""%2"",""%3"",%4] call milsim_fbcb2_assets_fnc_showMarkersOnMap'>SHOW MARKERS at vehicle positions</execute> (in %5)",
|
||||
_className,
|
||||
_markerType,
|
||||
_randomColor#0,
|
||||
_vehiclesOfThisKind,
|
||||
(_vehiclesOfThisKind apply {
|
||||
format["%1", _x call BIS_fnc_netId]
|
||||
}),
|
||||
format["<font color='%1'>%2</font>", _randomColor#1, _randomColor#2]
|
||||
];
|
||||
hint _showMarkersText;
|
||||
_recordText pushBack _showMarkersText;
|
||||
|
||||
// Link to hide markers
|
||||
_recordText pushBack "<execute expression=""call milsim_fbcb2_assets_fnc_removeMarkersOnMap"">REMOVE ALL MARKERS showing asset positions</execute>";
|
||||
|
||||
Reference in New Issue
Block a user