RHS Feedback - AFRF
View Issue Details
0002353AFRF[All Projects] Generalpublic2016-06-17 20:112017-07-11 19:34
Scruffy 
reyhard 
noneminoralways
closedno change required 
 
 
Yes
1.60
No
0002353: setdamage in scripts breaks revive respawn systems
There seem to be setdamage commands somewhere in the vehicle damage handling scripts, maybe a possibility for crew to die on the hit or with the new vehicle burning system.

Some revive respawn systems do not kill the player by capturing the hit eventhandler and setting the unit unconscious if damage is too high.
For example Farroqs Revive, Neos version in the Escape missions, Psychobastards Revive.

Using setdamage on a unit overrides the check and might break the mission, as there shouldn't be a way for the unit to really die.
Switching to sethit instead would avoid possible problems.
Play a mission with revive and get shot at while in a tank I guess. Searching in script file for "setdamage" would be easier I think ;)
No tags attached.
Issue History
2016-06-17 20:11ScruffyNew Issue
2016-06-18 10:17reyhardNote Added: 0004746
2016-07-27 00:08DystopianNote Added: 0005065
2016-09-10 19:36reyhardNote Added: 0005311
2016-09-10 19:36reyhardAssigned To => reyhard
2016-09-10 19:36reyhardStatusnew => feedback
2017-07-11 19:34reyhardNote Added: 0006392
2017-07-11 19:34reyhardStatusfeedback => closed
2017-07-11 19:34reyhardResolutionopen => no change required

Notes
(0004746)
reyhard   
2016-06-18 10:17   
yes, there is setDamage command used for killing driver (otherwise unkillable due to arma bug feedback.arma3.com/view.php?id=24464 ). I'm personally using faqor revive script so I know about issue but for now, I couldn't find a way to easily integrate it with all revive scripts.

yet, there is hope - in 1.63/RC BIS seem to strongly develop their revive system. there are plenty of nice anims already visible in splending anim viewer so in future we could integrate with it

see command for ragdol (anim changing is not working afaik yet) - https://community.bistudio.com/wiki/setUnconscious [^]
(0005065)
Dystopian   
2016-07-27 00:08   
setHit didn't fire HandleDamage event handler in 1.56, as well as setDamage. I don't know how it is now.
(0005311)
reyhard   
2016-09-10 19:36   
right now I added support for FAR & BIS revive. if you have any other revive script in mind then please, list it down & I will take a look what can be done there
(0006392)
reyhard   
2017-07-11 19:34   
should be fixed in A3 1.74 version - there was viewDriverInExternal parameter added which makes our script obsolete