Difference between revisions of "OnPlayerCameraState - ScriptObject"

added description
imported>Qazaaq
(added descriptions and example)
imported>Qazaaq
(added description)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Template:Incomplete Article}}
'''F4SE Member of:''' [[ScriptObject Script]]
'''F4SE Member of:''' [[ScriptObject Script]]
{{Template:Papyrus:RequiredF4SE|version=0.3.1}}
{{Template:Papyrus:RequiredF4SE|version=0.3.1}}


Event called when the players camera state has changed.
Event called when the players camera state has changed.
Register this script with [[RegisterForCameraState - ScriptObject|RegisterForCameraState]] to receive the event.


== Syntax ==
== Syntax ==
Line 35: Line 35:
EndEvent
EndEvent
</source>
</source>


<source lang="papyrus">
<source lang="papyrus">
Scriptname Example extends ScriptObject
Scriptname Example


int FirstPersonState = 0 const
int FirstPersonState = 0 const
Line 88: Line 89:
     EndIf
     EndIf
EndEvent
EndEvent
</source>
</source>


Anonymous user