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

Player Events - Add debug logging & make VisionModeChanged use engine event #1671

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

LinkIsGrim
Copy link
Contributor

@LinkIsGrim LinkIsGrim commented Jun 23, 2024

When merged this pull request will:*

  • Do what it says on the tin

Proof of concept PR, want to see what changes will be necessary for other events (delay for one frame?) and catch any edge cases (one I can think of is player not using NVG and switching to UAV with NVG on, and vice-versa. I'm not sure of the best way to handle that).

Requires #1669 & #1670

@PabstMirror
Copy link
Contributor

quick tested controlling UAVs and the event seems to work fine
eh is passed:

[player,1,-1,0,-1,UAV,[0]]

vision mode seems to just be whatever you are controlling, e.g. no nvgs

hmd player = ""
currentVisionMode player = 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants