ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

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

Open pool011 opened this issue 11 years ago • 2 comments

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 avatar Nov 10 '15 15:11 pool011

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 avatar Nov 10 '15 16:11 PabstMirror

thank you for the workaround @PabstMirror. Much appreciated.

pool011 avatar Nov 12 '15 13:11 pool011