Mod:Creation Kit/OnPlayerCameraState - ScriptObject

F4SE Member of: ScriptObject Script

Event called when the players camera state has changed. Register this script with RegisterForCameraState to receive the event.

Parameters

 * aiOldState: The players old camera state.
 * aiNewState: The players new camera state.

Camera States

 * 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