-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Common - Improve MarkerLocal #10437
Common - Improve MarkerLocal #10437
Conversation
ACE3/addons/fortify/functions/fnc_createObjectMarker.sqf Lines 34 to 40 in 82cefaa
We first create the marker locally and with the final command broadcast the changes. Shouldn't be apply the same logic here as well? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There still would be
ACE3/addons/artillerytables/dev/showShotInfo.inc.sqf
Lines 31 to 47 in 9c25429
private _mkrB = createMarker [format ["shotInfo-%1-%2",_shootPos,_lastPos], _lastPos]; | |
_mkrB setMarkerType "mil_dot"; | |
_mkrB setMarkerColor "ColorGreen"; | |
_mkrB setMarkerSize [0.5,0.5]; | |
private _diff = _lastPos vectorDiff _shootPos; | |
_mkrB setMarkerText format ["%1", _diff apply {round _x}]; | |
private _dist2d = _shootPos distance2D _lastPos; | |
private _dir = _shootPos getDir _lastPos; | |
private _height = (_lastPos select 2) - (_shootPos select 2); | |
_mkrB setMarkerText format ["Dist: %1m Az: %2[%3] Height:%4", _dist2d toFixed 0, _dir toFixed 2, ((6400 / 360) * _dir) toFixed 0, _height toFixed 0]; | |
}, [_proj, _shootPos, [0,0,0], _submunitionAmmo]] call CBA_fnc_waitUntilAndExecute; | |
private _mkrA = createMarker [format ["shotInfo-%1",_shootPos], _shootPos]; | |
_mkrA setMarkerType "mil_dot"; | |
_mkrA setMarkerColor "ColorRed"; | |
_mkrA setMarkerSize [0.5,0.5]; |
When merged this pull request will:
IMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}
.