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

Error spew when dead from the nametag widget #43

Open
RoyAwesome opened this issue Jun 27, 2023 · 4 comments
Open

Error spew when dead from the nametag widget #43

RoyAwesome opened this issue Jun 27, 2023 · 4 comments
Labels
Bug Something isn't working C-Annoying Annoying issue that doesn't impact gameplay

Comments

@RoyAwesome
Copy link
Contributor

No description provided.

@RoyAwesome RoyAwesome added Bug Something isn't working C-Annoying Annoying issue that doesn't impact gameplay labels Jun 27, 2023
@RoyAwesome RoyAwesome added this to the Infantry Combat Release milestone Jun 27, 2023
@Trainzack
Copy link
Collaborator

Trainzack commented Jul 22, 2023

This issue should be fixed by commit 12ed9d. The widget now checks that the owning player's pawn is valid, otherwise it hides the widget. This means that upon your death, all other widgets are hidden because the player doesn't have a pawn anymore. Maybe there should be a deathpawn?

@RoyAwesome
Copy link
Contributor Author

What do you need the pawn for? If it's a position, you can use the Player Controller's position when the pawn is dead, as the Player Controller is at the position the player is at when they lost their pawn, if I remember correctly.

@Trainzack
Copy link
Collaborator

I didn't know that the controller stored position. I've corrected this in the most recent commit, so you should still be able to see the nametags even after death.

@RoyAwesome
Copy link
Contributor Author

right on! Yeah, the controller is attached to the pawn on possess, and just kinda... stays at it's last spot when it unpossesses. It's why your camera stays at the last view spot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working C-Annoying Annoying issue that doesn't impact gameplay
Projects
None yet
Development

No branches or pull requests

2 participants