0a788a282e
Improved efficiency of wound counting.
...
Using a switch/case conditional since it offers early termination if a
matching condition is found before all conditions are checked. It also
unnecessary to use a conditional to confirm whether a limb is wounded or
not. Number of Wounds multiplied by Blood loss will return zero for
a fully bandaged body part, not incrementing the wound counter; or it will
return some other number which will increment the wound counter.
2015-09-30 20:27:40 -04:00
f69f4066e9
Fix capitalization on forEach and getVariable.
2015-09-30 06:17:54 -04:00
2824009317
Incorrectly retrieving list of current wounds.
...
Used the wrong method to retrieve the target's current wounds and was
getting an empty array. This caused bandaging any wound even once to
completely heal the target on the Arma side.
2015-09-29 17:00:49 -04:00
8d05214eb0
Resolve merge conflict from upstream pull.
2015-09-29 16:24:17 -04:00
954fad615a
Reformatted to follow ACE3 coding guidelines.
2015-09-29 06:36:36 -04:00
8619f02538
Take into account wounds that do no cause blood loss.
2015-09-29 06:19:49 -04:00
a864a3411c
Clarified a comment.
2015-09-28 21:32:04 -04:00
488541bba6
Fix for Arma wounds not being healed with healHitPointAfterAdvBandage.
2015-09-28 20:08:07 -04:00
e375dbe0d7
Merge pull request #2598 from acemod/340modifierkey2
...
rework modifier key, cleanup sandbags, tripod, ladder, fix #2590
2015-09-28 21:20:19 +02:00
19131f001d
fix error in handleplayerchanged for tacticl ladder
2015-09-28 21:16:13 +02:00
bc8cefa5e7
manual merge
2015-09-28 21:06:40 +02:00
34793ce044
Merge pull request #2635 from acemod/340interactcleanup
...
Code Cleanup Interaction
2015-09-28 21:04:28 +02:00
6c968d8bc7
per frame handler for incremental door opening
2015-09-28 20:07:01 +02:00
443cbf8be3
fix compile error when trying to open a locked door by shortcut
2015-09-28 19:03:37 +02:00
6f64fcd0fb
search for door in geometry lod (lineintersectssurface)
2015-09-28 18:45:10 +02:00
6289a0cadb
Merge pull request #2626 from acemod/340weaponselectcleanup
...
Code Cleanup WeaponSelect
2015-09-28 18:10:16 +02:00
5a3a32f236
more interaction cleanup
2015-09-28 18:06:25 +02:00
9bf7b68d76
fix errors on game start
2015-09-28 17:28:51 +02:00
5c5a65443b
more interaction cleanup
2015-09-28 17:20:56 +02:00
f48636e633
more interaction cleanup, remove dead code
2015-09-28 17:11:53 +02:00
e1bbc06ef8
Merge pull request #2613 from jonpas/improveSlideshowParams
...
Improved Slideshow API
2015-09-28 16:38:00 +02:00
e4d8f13c89
Change may to must in slideshow error log
2015-09-28 16:02:18 +02:00
7215dd9082
Merge pull request #2368 from jonpas/removeVignetteAndCleanUI
...
Removed Vignette and Cleaned up UI component
2015-09-28 15:56:34 +02:00
9189148b3f
more interaction cleanup
2015-09-28 15:37:18 +02:00
74805caa5d
Merge pull request #2565 from acemod/medVehAssignFix
...
assign vehicle module fix for prefilled veh
2015-09-28 15:02:48 +02:00
4b536425b1
Code Cleanup Interaction
2015-09-28 14:36:51 +02:00
e9770fcb97
remove obsolete functions
2015-09-27 17:15:59 +02:00
1613ce3ff6
correct comment
2015-09-27 16:55:43 +02:00
b6532a05cc
new function to select a grenade
2015-09-27 16:47:02 +02:00
f8819d3ee4
WeaponSelect cleanup
2015-09-27 14:55:36 +02:00
e3b926296f
Merge branch 'master' of https://github.com/acemod/ACE3 into 340weaponselectcleanup
2015-09-27 13:53:00 +02:00
af24428363
Merge pull request #2607 from acemod/340cleanupBackpacks
...
Code cleanup Backpacks
2015-09-27 13:50:20 +02:00
1a5f65ec5a
Merge pull request #2625 from acemod/340safetymodecleanup
...
Code Cleanup SafetyMode, also fixes "cannot load sound .wss" RPT error
2015-09-27 13:50:11 +02:00
92ae1da660
Merge pull request #2622 from jonpas/aliveCommand
...
Replaced isAlive function with alive command
2015-09-27 13:49:58 +02:00
5387700460
Merge pull request #2610 from acemod/340cleanupNoRadio
...
Code Cleanup NoRadio
2015-09-27 13:49:08 +02:00
0500d4385d
Merge pull request #2611 from acemod/340cleanupHitReactions
...
Code Cleanup HitReactions
2015-09-27 13:48:57 +02:00
fbe157614b
Merge pull request #2612 from acemod/340cleanupGrenades
...
Code Cleanup Grenades, fix dedicated server AI thrown flasbangs do nothing
2015-09-27 13:48:46 +02:00
3211e6432e
Merge pull request #2614 from jonpas/loadCargoOptionalHint
...
Optionalized Cargo Loaded Hint
2015-09-27 13:48:27 +02:00
a078d73230
Code Cleanup WeaponSelect
2015-09-27 08:51:42 +02:00
50046decf3
Code Cleanup SafetyMode
2015-09-27 08:28:55 +02:00
2ab58ab9ce
Replaced common,isAlive function with alive command
2015-09-27 02:23:56 +02:00
151903ace4
Expanded optional hint to addCargoItem and AddCargoByClass event
2015-09-27 00:31:23 +02:00
30544dc757
Make cargo loaded hint optional, disable it when not loading manually
2015-09-26 23:16:05 +02:00
498dddcc26
Used isEqualTo
2015-09-26 23:06:35 +02:00
b787286837
Fixed allowed data types
2015-09-26 23:02:18 +02:00
4a5d6cade1
Bracket to Brace
2015-09-26 22:54:31 +02:00
64d6a172c7
Improved public function parameter handling, Fixed issue with synchronized objects
2015-09-26 22:53:49 +02:00
cd839a0ddc
remove superfluous brackets
2015-09-26 22:42:47 +02:00
6cc920dc34
Code Cleanup Grenades, fix dedicated server AI thrown flasbangs do nothing
2015-09-26 22:39:12 +02:00
028aa404e9
change description in function header
2015-09-26 21:27:00 +02:00