Skip to content
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

PermanentBlindnessComponent can't be adjusted or removed once given to someone #33146

Open
Plykiya opened this issue Nov 3, 2024 · 1 comment · Fixed by #33292
Open

PermanentBlindnessComponent can't be adjusted or removed once given to someone #33146

Plykiya opened this issue Nov 3, 2024 · 1 comment · Fixed by #33292
Labels
S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels.

Comments

@Plykiya
Copy link
Contributor

Plykiya commented Nov 3, 2024

Description

Changing the blindness value will not change their vision to that level, removing the component will not restore their vision

Reproduction

Screenshots

Additional context

@github-actions github-actions bot added the S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. label Nov 3, 2024
@slarticodefast
Copy link
Member

Only partially fixed by #33292
In case someone wants to fix minimal blindness level not updating when changing it using VV, this can probably be accomplished by:

  • Giving PermanentBlindnessComponent the AutoGenerateComponentState attribute
  • Giving its Blindness datafield the AutoNetworkedField attribute
  • Calling SetMinDamage the same way it is done in OnMapInit in a ComponentHandleState subscription to update the blindness level after the datafield has been changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants