Ideally a script like this:
OnDrawWeapon{ TogglePOV}OnHolsterWeapon{ TogglePOV}
After a bit of searching the best thing I could come up with is this:
Begin GameMode{ if (IsWeaponOut) { Using keyboard? TapKey 33 Using controller? TapControl 13 }}
However, this seems like a very inefficient way of doing things and raises another issue. How can I tell if the user is using either the keyboard or a controller? (TapKey & TapControl are NVSE functions, and I assume I have to match them to the users input method for them to work.)
I could also try some sort of OnKey/ButtonPressEvent, but I can't find anything like that either.
Note: Consider this sudo-code; I know they won't compile as-is.