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
Closed

Unit changed PlayerEH not called when leaving Zeus RemoteControl #615

dedmen opened this issue Mar 6, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@dedmen
Copy link
Contributor

dedmen 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
@dedmen
Copy link
Contributor Author

dedmen 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
Copy link
Contributor

commy2 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.

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