Difference between revisions of "GetCameraState - Game"
Jump to navigation
Jump to search
EgoBallistic (talk | contribs) m (EgoBallistic moved page FalloutCK:GetCameraState - Game to GetCameraState - Game: Fix title, again) |
EgoBallistic (talk | contribs) |
||
Line 3: | Line 3: | ||
[[Category:Papyrus]] | [[Category:Papyrus]] | ||
[[Category:F4SE]] | [[Category:F4SE]] | ||
'''Member of:''' [[Game Script]] | '''F4SE Member of:''' [[Game Script]] | ||
{{Template:Papyrus:RequiredF4SE|version=0.6.16}} | |||
Obtains the player's current camera state. | Obtains the player's current camera state. |
Latest revision as of 11:24, 15 September 2022
F4SE Member of: Game Script
Requires F4SE version 0.6.16 or higher.
Obtains the player's current camera state.
Syntax[edit | edit source]
int Function GetCameraState() native global
Parameters[edit | edit source]
None
Return Value[edit | edit source]
The current camera state.
Camera States[edit | edit source]
- 0 - First Person
- 1 - Auto Vanity
- 2 - VATS
- 3 - Free
- 4 - Iron Sights
- 5 - Transition
- 6 - Tween Menu
- 7 - ThirdPerson1
- 8 - ThirdPerson2
- 9 - Furniture
- 10 - Horse
- 11 - Bleedout
- 12 - Dialogue
Examples[edit | edit source]
If Game.GetCameraState() == 0
Debug.Trace("The Player camera is in first person")
EndIf