- Found in:
- F4SE
Description
Wiki Description
Registers this script to receive the OnPlayerCameraState event. This event occurs whenever there is a change to the players camera state.
Caveats
Examples
RegisterForCameraState()Scriptname Example
Event OnInit()
RegisterForCameraState()
EndEvent
Event OnPlayerCameraState(int aiOldState, int aiNewState)
Debug.Trace("The players camera state has changed.")
EndEventAuto-Generated Example
myScriptObject__toCallFunctionOn.RegisterForCameraState()Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
