Background for Skyrim SE
Member of the Game script
intfunctionGetCameraState()Global

[DEV SERVER] Loading description...


Caveats


Examples

Function Example()
    int iCameraState = Game.GetCameraState()
    If(iCameraState == 0)
        Debug.Trace("The camera state '"+iCameraState+"' is called 'first person'")
    ElseIf(iCameraState == 1)
        Debug.Trace("The camera state '"+iCameraState+"' is called 'auto vanity'")
    ElseIf(iCameraState == 2)
        Debug.Trace("The camera state '"+iCameraState+"' is called 'VATS'")
    ElseIf(iCameraState == 3)
        Debug.Trace("The camera state '"+iCameraState+"' is called 'free'")
    ElseIf(iCameraState == 4)
        Debug.Trace("The camera state '"+iCameraState+"' is called 'iron sights")
    ElseIf(iCameraState == 5)
        Debug.Trace("The camera state '"+iCameraState+"' is called 'furniture'")
    ElseIf(iCameraState == 6)
        Debug.Trace("The camera state '"+iCameraState+"' is called 'transition'")
    ElseIf(iCameraState == 7)
        Debug.Trace("The camera state '"+iCameraState+"' is called 'tweenmenu'")
    ElseIf(iCameraState == 8)
        Debug.Trace("The camera state '"+iCameraState+"' is called 'third person 1'")
    ElseIf(iCameraState == 9)
        Debug.Trace("The camera state '"+iCameraState+"' is called 'third person 2'")
    ElseIf(iCameraState == 10)
        Debug.Trace("The camera state '"+iCameraState+"' is called 'horse'")
    ElseIf(iCameraState == 11)
        Debug.Trace("The camera state '"+iCameraState+"' is called 'bleedout'")
    ElseIf(iCameraState == 12)
        Debug.Trace("The camera state '"+iCameraState+"' is called 'dragon'")
    Else
        Debug.Trace("The camera state '"+iCameraState+"' is unknown.")
    EndIf
EndFunction

Auto-Generated Example

int returnedValue = Game.GetCameraState()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.