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

[Hearing] Earplugs not removed on respawn *Different from #2835* #2837

Closed
pool011 opened this issue Nov 10, 2015 · 2 comments
Closed

[Hearing] Earplugs not removed on respawn *Different from #2835* #2837

pool011 opened this issue Nov 10, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@pool011
Copy link

pool011 commented Nov 10, 2015

ACE Version: 3.3.2 (but noticed in previous versions going back to 3.1.0)

Mods:

  • @ace
  • @CBA_A3

Modules:
Ace_Respawn
SavePreDeathGear: false
RemoveDeadBodiesDisconnected: true
RemoveBodyTimer: 30

*Steps to reproduce:

  1. Spawn as any unit as Player
  2. Respawn at a preset point (I made a simple script)
  3. Die (somehow; method unimportant)
  4. On respawn, check if earplugs still in

Game Type: Both Singleplayer Editor and Dedicated Server

RPT: N/A, but will replicate and provide later

Note: Issue might possible linked to the lack of a function that handles respawn in earplugs the module (in captives module). Is there a workaround if this is the case?

Also, does ace affect all respawns, or would a seperate script like mine bypass the module?

@pool011 pool011 changed the title Question or Enhancement (Contingent on Response): Earplugs not removed on respawn Question or Enhancement (Contingent on Response): Earplugs not removed on respawn *Different from #2835* Nov 10, 2015
@pool011 pool011 changed the title Question or Enhancement (Contingent on Response): Earplugs not removed on respawn *Different from #2835* Question or Bug (Contingent on Response): Earplugs not removed on respawn *Different from #2835* Nov 10, 2015
@PabstMirror
Copy link
Contributor

Ear plugs are a setVariable on the unit

As with #2835 we don't really handle respawn right now at all. Should probably just set that variable false and then re run the add func.

In the meantime, you should be able to manually remove via this code on respawn

_unit setVariable ["ACE_hasEarPlugsin", false]

@PabstMirror PabstMirror added this to the 3.4.0 milestone Nov 10, 2015
@PabstMirror PabstMirror self-assigned this Nov 10, 2015
@pool011
Copy link
Author

pool011 commented Nov 12, 2015

thank you for the workaround @PabstMirror. Much appreciated.

@pool011 pool011 changed the title Question or Bug (Contingent on Response): Earplugs not removed on respawn *Different from #2835* [Hearing] Earplugs not removed on respawn *Different from #2835* Nov 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants