The "Create trench map markers" setting appears to (in local MP testing) create the markers at [0,0,0] rather than the position of the placed trench. I believe it's due to the _trench object fed to the create marker function still being positioned at [0,0,0] from initial spawn -- it's moved later in the spawnTrench function.
The "Create trench map markers" setting appears to (in local MP testing) create the markers at [0,0,0] rather than the position of the placed trench. I believe it's due to the
_trench
object fed to the create marker function still being positioned at [0,0,0] from initial spawn -- it's moved later in the spawnTrench function.https://github.com/gruppe-adler/grad_trenches/blob/c90ccf269b603cb0080d5211f5144db171adeaac/addons/functions/functions/fnc_createTrenchMarker.sqf#L33
https://github.com/gruppe-adler/grad_trenches/blob/c90ccf269b603cb0080d5211f5144db171adeaac/addons/functions/functions/fnc_spawnTrench.sqf#L25-L36