Skip to content

MissileGuidance - Update to use CBA PID#11282

Merged
PabstMirror merged 1 commit intomasterfrom
mg-pid
Feb 12, 2026
Merged

MissileGuidance - Update to use CBA PID#11282
PabstMirror merged 1 commit intomasterfrom
mg-pid

Conversation

@TheCandianVendingMachine
Copy link
Contributor

When merged this pull request will:

  • Change MG line guidance to use a PID for tracking

IMPORTANT

  • If the contribution affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
  • Development Guidelines are read, understood and applied.
  • Title of this PR uses our standard template Component - Add|Fix|Improve|Change|Make|Remove {changes}.

_correctionDistance = 1;
};
private _pid_x = [_p, 0, _d, 0] call CBA_pid_fnc_create;
private _pid_y = [_p, 0, _d, 0] call CBA_pid_fnc_create;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to clean these up with deleteLocation at end of pfeh?
or could cba_pid switch to hashes which should get garbage collected?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, I didn't realise that these wouldn't be garbage collected. It would be best for CBA to switch to hashes I think

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iirc acre creates thousands of these locations and there really shouldn't be any performance impact of them existing so this is a really minor thing

made a cba pr to change over to hashmaps CBATeam/CBA_A3#1811

@PabstMirror PabstMirror added this to the 3.20.3 milestone Feb 9, 2026
@PabstMirror PabstMirror added the kind/cleanup Release Notes: **CHANGED:** label Feb 9, 2026
@PabstMirror PabstMirror changed the title [missileguidance] Update missileguidance to use CBA PID MissileGuidance - Update to use CBA PID Feb 9, 2026
@PabstMirror PabstMirror merged commit 6b589ad into master Feb 12, 2026
3 checks passed
@PabstMirror PabstMirror deleted the mg-pid branch February 12, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/cleanup Release Notes: **CHANGED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants