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

Unit changed PlayerEH not called when leaving Zeus RemoteControl #615

Closed
dedmen opened this issue Mar 6, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@dedmen
Copy link
Contributor

commented Mar 6, 2017

Arma 3 Version: 1.66 (stable / rc / dev)
CBA Version: 3.2.1 (stable / dev + commit hash)

Mods:

- CBA_A3
- TFAR

Description:
When leaving a Zeus Remote Control by Pressing the Z button the currentUnit changed Event is not executed. It only runs after the Zeus Interface was completly closed by Pressing Z again and going back into the Zeus Players eyeCamera

This is probably because the Arma PlayerViewChanged EH doesn't trigger when Zeus leaves Remote Control and goes back into Zeus Interface Camera

Reference: michail-nikolaev/task-force-arma-3-radio#1211

Steps to reproduce:

  • Use this:
["unit", {
    systemChat str ["playerChanged",_this];
},true] call CBA_fnc_addPlayerEventHandler;
  • Go Into Zeus Interface and Remote Control a unit
  • Press Z to go back into Zeus Interface
  • Press Z again to close Zeus Interface
  • You'll see that the Eventhandler is only called after you exit the Zeus Interface. Although after you quit remote Control and went back into Zeus Interface CBA_fnc_currentUnit report's player already.

Where did the issue occur?

  • Dedicated / Self-Hosted Multiplayer

@commy2 commy2 added the Bug label Mar 7, 2017

@commy2 commy2 added this to the 3.3 milestone Mar 7, 2017

@commy2 commy2 self-assigned this Mar 7, 2017

@commy2 commy2 modified the milestones: 3.2.1, 3.3, 3.2 Mar 7, 2017

@dedmen

This comment has been minimized.

Copy link
Contributor Author

commented Mar 7, 2017

This could also be a Arma bug because technically the PlayerView changed.. But I'd rather not wait months for BI to fix it

@commy2

This comment has been minimized.

Copy link
Contributor

commented Mar 7, 2017

Doesn't even fire consistently when using selectPlayer. It was a nice idea, but the CBA eventhandlers were specifically made to have a reliable solution. Sometimes things fail and one has to accept that.

commy2 added a commit that referenced this issue Mar 10, 2017

commy2 added a commit that referenced this issue Mar 10, 2017

@commy2 commy2 closed this in 2f37af3 Mar 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.