Skip to content
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

Improve Group and Contact Suppression #345

Merged
merged 5 commits into from
Feb 18, 2024

Conversation

nk3nny
Copy link
Owner

@nk3nny nk3nny commented Apr 16, 2023

Added a follow-up fire state to suppression states
Improves interaction with doAssaultMemory (more predictable) Fixes vehicles being part of Contact state

Adds a followup firestate to suppression states
Improves interaction with doAssaultMemory (more predictable)
Fixes vehicles being part of Contact state
[{_this setVariable [QGVAR(forceMove), nil]}, _x, 5 + random 4] call CBA_fnc_waitAndExecute;
} foreach _units select {getSuppression _x < 0.5};
[
{
Copy link
Collaborator

Choose a reason for hiding this comment

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

Check if unit is dead and restore old unitPos

Copy link
Owner Author

Choose a reason for hiding this comment

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

Good call. Fixed in latest push.

@nk3nny nk3nny added this to To Do in 2.7.0 via automation Apr 16, 2023
@nk3nny nk3nny added this to the 2.7.0 milestone Apr 16, 2023
Added alive check and reset stance on Contact (Assault)
Fixed edge case scenario which could lead to infantry assaulting to [0,0,0]
Improved timing of Contract (Suppress) and removed some of the debug variables which were being overwritten by 'suppress' regardless.
Removed debug message
Tiny change to rerun linter
False positives increased
@nk3nny nk3nny self-assigned this Feb 18, 2024
@nk3nny nk3nny merged commit 4e6b530 into master Feb 18, 2024
4 checks passed
@nk3nny nk3nny deleted the improvements-to-group-suppression branch February 18, 2024 12:40
@jokoho48 jokoho48 modified the milestones: 2.7.0, 2.6.1 Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
2.7.0
To Do
Development

Successfully merging this pull request may close these issues.

None yet

3 participants