Frag - Implement Arma v2.18 changes from #10157
This PR requires #10157 to be merged. When merged this pull request will:
- ~~Use
_instigatorprojectile "HitPart" event handler argument instead of retrievingshotParents.~~ - Use new syntax of
nearEntitiesto avoid needing to sort/filter the fragment target arrays.
IMPORTANT
- [x] If the contribution affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
- [x] Development Guidelines are read, understood and applied.
- [x] Title of this PR uses our standard template
Component - Add|Fix|Improve|Change|Make|Remove {changes}.
Readable diff (I think) - https://github.com/lambdatiger/ace_frag-overhaul/compare/lambdatiger:ace_frag-overhaul:Event-hanlder-replacement...eventHandler-replace-2.18
@lambdatiger Can you handle the merge conflicts?
There's one more 2.18 change that came from #10247 that isn't present in this PR yet. I'll test it again later this week before I commit it.
There's one more 2.18 change that came from #10247 that isn't present in this PR yet. I'll test it again later this week before I commit it.
There's no hurry, given that 2.18 won't release until sometime in october (and I doubt we will release a day 1 patch).
There's no hurry, given that 2.18 won't release until sometime in october (and I doubt we will release a day 1 patch).
That aged like milk...
I'll run through it tomorrow and let you know if it's good to go.
Alright, new feature isn't easily added. I'll address any other changes in #9728.
Testing seems to work like it should, no issues and the new nearEntities syntax does what it took us the command and a loop to do. If anyone has specific testing they want lmk, but I ran through in single player using the new syntax and formatting.