Medical Treatment - Improve litter placement#10886
Merged
PabstMirror merged 5 commits intoacemod:masterfrom May 3, 2025
Merged
Medical Treatment - Improve litter placement#10886PabstMirror merged 5 commits intoacemod:masterfrom
PabstMirror merged 5 commits intoacemod:masterfrom
Conversation
jokoho48
reviewed
Apr 26, 2025
johnb432
reviewed
May 2, 2025
PabstMirror
reviewed
May 3, 2025
| [QGVAR(createLitterServer), [_x, _position, random 360]] call CBA_fnc_serverEvent; | ||
| private _raycast = lineIntersectsSurfaces [_position vectorAdd [0,0,1], _position vectorAdd [0,0,-1e11], _patient, _medic, true, 1, "ROADWAY", "FIRE"]; | ||
|
|
||
| _position = [_position, (_raycast # 0) # 0] select (_raycast isNotEqualTo []); |
Contributor
There was a problem hiding this comment.
Could also just exit if raycast is [] as it probably means something is weird
but it's fine as is
PabstMirror
approved these changes
May 3, 2025
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
johnb432
approved these changes
May 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When merged this pull request will: Improve the placement of medical litter objects
fnc_createLitterServer(leading slashes are accepted since ~ Arma 3 2.08)Images before and after: https://imgur.com/a/xIq9W8D
IMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}.