-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
v0.96.8 bugfix infantry battlegroups #846
Conversation
Fix. Only one of the created infantry battlegroups moved towards designated target.
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.
Genuinely curious about this change... So new AI is being spawned every time a new _grp
is pushed onto the _bg_groups
array? How is that any different than simply spawning the AI when we see the _grp
? Besides introducing potential to miss the correct AI execution? i.e. assuming the scheduler sees spawn
in the correct order, which I do not think is guaranteed, IIRC.
I see what is going on with the inner group and trailing group being created. Assuming the count is the desired count, why not just create the group and be done with it? Then there is also a potential for every 8th group to be created only? |
The orignial version had the bug. I fixed it, and I could play with working infantry assaults. Given the fact, that I am an amateur coder, there is a better solution for sure. So go ahead and pull request your version. |
Have tested this edit on my server with 0.96.7, looks like work good. |
# Fix filename error. - "custom east.sqf" -> "custom_east.sqf" # Remove build preset workshopid tag. # Modify .gitignore # Update stringtable.xml - Including this translation. - New Secondary Objective 'Humanitarian Aid' - KillahPotatoes#894 # bugfix infantry battlegroups - KillahPotatoes#846
I think this one is redundant now. |
Superseded by #942 |
Fix. Only one of the created infantry battlegroups moved towards designated target.
Description:
When infantry only counter attack battlegroups are spawned, only one of the created battlegroups are charging towards their designated target. This patch should change this and let all spawned battlegroups move towards target.
Content:
Successfully tested on: