An ability to lock mouse view
Moderator: GZDoom Developers
- PillowBlaster
- Posts: 919
- Joined: Sun Jan 24, 2010 2:55 pm
- Contact:
An ability to lock mouse view
More often than not I find myself in a situation where we need something akin to PROP_FROZEN, except for mouse. I have quick access context menus where we want to make the player still able to move around but lock the screen. Constantly setting pitch/angle is kinda dirty, and it also leads to occasional jitters, especially visible in multiplayer. Can we have some more elegant way to do that, or at least point us at a sensible way to do so, if there's already functionality for that matter?
- Caligari87
- Admin
- Posts: 6174
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
Re: An ability to lock mouse view
Have you looked at PROP_TOTALLYFROZEN? Sounds like that's what you want. [wiki]SetPlayerProperty[/wiki]
EDIT: Didn't see the "while still allowing movement part, nevermind.
My thought is that this may become unnecessary once the current scriptifiation and class extensibility project is complete. Theoretical "universal" example that nullifies just pitch/yaw at the source and wouldn't require a custom playerclass:
EDIT: Didn't see the "while still allowing movement part, nevermind.
My thought is that this may become unnecessary once the current scriptifiation and class extensibility project is complete. Theoretical "universal" example that nullifies just pitch/yaw at the source and wouldn't require a custom playerclass:
Spoiler: This should work in the near future, right?