-
Notifications
You must be signed in to change notification settings - Fork 735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Medical Status - Remove status effects upon death/featureCamera #9301
Conversation
IMO status effect setting/unsetting should be moved to a function, this will absolutely get confusing in the future. |
Any suggestions? |
LinkIsGrim/ACE3@2feacbb, I'm just not sure on |
Medical Status - Move to function
I don't think it's necessary, went ahead and removed it. |
That being the case, the uncon unit will become a valid target for AI upon opening a camera. I don't particularly like that idea due to some communities using spectator for downed players. |
imho this is an TFAR problem
if the unit is dead or otherwise spectating that shouldn't matter |
Poke if that gets merged, this should be unnecessary then. |
Close? |
I feel it's poor design on TFAR's part, but I don't quite agree it's their fault. The PR made to address it on TFAR's end hasn't been merged, so I feel it might be safer to keep this PR open until it's addressed. |
It probably will never get merged, and if it will, it'll never get released. @dedmen ? Does this PR address any other possible issue? |
Unfortunately it doesn't, as I don't have the necessary information to reproduce the errors. It only handles death of uncon units causing them to be muted as spectators. |
It seems like a general bad-state safety improvement to me though, so merge anyways? |
Actually, if that happens, this PR is a no-go. |
What if I were to revert the changes made in d647710? The script would only execute upon death then. |
Somebody else will have to comment on the rest of the changes. |
Why not? Probably weeks/months but not never |
As a "beta". :P |
This reverts commit 452c521.
I reverted the problematic changes, should be good to be reviewed. |
@LinkIsGrim re-review please. |
Will TFAR be updated any time soon? |
https://steamcommunity.com/sharedfiles/filedetails/?id=894678801 had an update Jun 14 |
From SP testing, they don't. AFAIK dead bodies aren't valid targets for the AI brain. |
When merged this pull request will:
setHidden
,blockRadio
andblockSpeaking
status effects still applied. The first is not important, but the two others are, especiallyblockSpeaking
, which (I believe) prevented spectators talking in the spectator view when using TFAR.This PR reverses those status effects upon death.
Unsure if ACRE is affected in any negative way.
IMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}
.