johnb432
9f2ee9fb6f
Common - Add setDead
API ( #10045 )
...
* Added `setDead` API
* Update XEH_PREP.hpp
* Update fnc_setDead.sqf
* Update addons/common/functions/fnc_disableUserInput.sqf
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
* Update fnc_setDead.sqf
* Added warning for non-local units
---------
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
2024-05-31 13:07:50 -07:00
Grim
6a2f3a21f2
Medical - Fix broken AI ragdolls if AI unconsciousness is disabled ( #9917 )
...
Co-authored-by: jonpas <jonpas33@gmail.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2024-04-06 22:20:51 -03:00
jonpas
742626ff1a
General - Relative script_component.hpp
includes ( #9378 )
...
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00
GhostIsSpooky
9209fedcf7
Medical Statemachine - Improve edge case death handling ( #8788 )
...
* fix #8772
* add WARNING for dead/null units
* fix macro
* improve warnings
* handle scripted death without warnings
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2022-03-07 12:28:51 -06:00
GhostIsSpooky
f7f497f0ac
Medical Status - Add isDamageAllowed
check to setDead
( #8803 )
...
* add delay & logs
* add remote support
* isDamageAllowed check
* add internal comment to setDead event
* remove remote setDead EH
* remove unnecessary changes
* Add comments and move check below the event
2022-02-06 17:36:28 +01:00
GhostIsSpooky
a9296f66d5
Medical - Update setDead
to use setHitpointDamage
instigator param ( #8397 )
...
* Redoing this
* Revert "Redoing this"
This reverts commit 80ff709676
.
* Do this properly
* Update fnc_handleKilled.sqf
* use setDead function directly
* Handle scripted camera
* redo #8387
I'm dumb.
* try this
* if construct outside of ctrlSetEventHandler
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
* tweak disableUserInput / handleKilled
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-11-15 09:31:56 -06:00
PabstMirror
d6c39e661f
Medical StateMachine - Tweak dead state handling ( #7061 )
...
* Medical StateMachine - Tweak dead state handling
- Don't call setDammage inside HandleDamage EH
- Add death reason on entering death state
* add a getVar disable in case this causes problems
* Cleanup
* cleanup
* Update addons/medical_statemachine/functions/fnc_enteredStateDeath.sqf
Co-Authored-By: Ferran Obon <magnetar5891@gmail.com>
2019-09-05 15:56:14 -05:00
PabstMirror
0d7709673a
Medical Feedback - Fix DISABLE_VANILLA_DAMAGE_EFFECTS ( #6966 )
...
* Medical Feedback - Fix DISABLE_VANILLA_DAMAGE_EFFECTS
* Keep compatibilty with old ace_medical_lastDamageSource var name
2019-04-27 14:04:31 -05:00
SilentSpike
24846e6f74
Make state change status updates consistent ( #6538 )
...
State transitions call respective functions in the status component where unit variables and status are actually handled.
2018-08-25 16:40:22 +01:00
Dedmen Miller
6bd8542eed
Move #includes before function headers ( #6484 )
2018-07-30 10:22:14 +01:00
SilentSpike
697aa5dc08
Fix medical status function calls
2018-05-08 10:45:30 +01:00
SilentSpike
e065ee239e
Merge branch 'medical-rewrite' into medical-rewrite-restructure
2018-04-24 20:07:05 +01:00
BaerMitUmlaut
56818ac780
Added todo for setDead next frame exec
2017-04-27 18:53:06 +02:00
BaerMitUmlaut
676c9a5451
Added seperate status component
2017-04-01 20:41:45 +02:00