Form Script: Difference between revisions

Jump to navigation Jump to search
44 bytes added ,  20 February 2012
imported>Jog
imported>Jog
Line 84: Line 84:


== Events ==
== Events ==
*Event [[OnAnimationEvent - Form|OnAnimationEvent]](ObjectReference akSource, string asEventName)
'''Event [[OnAnimationEvent - Form|OnAnimationEvent]](ObjectReference akSource, string asEventName)'''
**Received when one of animation events we are listening for is recieved.
*Received when one of animation events we are listening for is recieved.
*Event [[OnAnimationEventUnregistered - Form|OnAnimationEventUnregistered]](ObjectReference akSource, string asEventName)
 
**Received when one of the animation events we are listening for has been automatically unregistered by the game due to the target animation graph unloading.
'''Event [[OnAnimationEventUnregistered - Form|OnAnimationEventUnregistered]](ObjectReference akSource, string asEventName)'''
*Event [[OnGainLOS - Form|OnGainLOS]](Actor akViewer, ObjectReference akTarget)
*Received when one of the animation events we are listening for has been automatically unregistered by the game due to the target animation graph unloading.
**Received when the viewer goes from not seeing the target to seeing the target - if this form is registered.
 
*Event [[OnLostLOS - Form|OnLostLOS]](Actor akViewer, ObjectReference akTarget)
'''Event [[OnGainLOS - Form|OnGainLOS]](Actor akViewer, ObjectReference akTarget)'''
**Received when the viewer goes from seeing the target to not seeing the target - if this form is registered.
*Received when the viewer goes from not seeing the target to seeing the target - if this form is registered.
*Event [[OnSleepStart - Form|OnSleepStart]](float afSleepStartTime, float afDesiredSleepEndTime)
 
**Received when the player goes to sleep.
'''Event [[OnLostLOS - Form|OnLostLOS]](Actor akViewer, ObjectReference akTarget)'''
*Event [[OnSleepStop - Form|OnSleepStop]](bool abInterrupted)
*Received when the viewer goes from seeing the target to not seeing the target - if this form is registered.
**Received when the player wakes up or is interrupted in sleep.
 
*Event [[OnTrackedStatsEvent - Form|OnTrackedStatsEvent]](string asStat, in aiStatValue)
'''Event [[OnSleepStart - Form|OnSleepStart]](float afSleepStartTime, float afDesiredSleepEndTime)'''
**Received when tracked stats are updated.
*Received when the player goes to sleep.
*Event [[OnUpdate - Form|OnUpdate]]()
 
**Received at periodic intervals, if the form is registered.
'''Event [[OnSleepStop - Form|OnSleepStop]](bool abInterrupted)'''
*Event [[OnUpdateGameTime - Form|OnUpdateGameTime]]()
*Received when the player wakes up or is interrupted in sleep.
**Received at periodic intervals of game time, if the form is registered.
 
'''Event [[OnTrackedStatsEvent - Form|OnTrackedStatsEvent]](string asStat, in aiStatValue)'''
*Received when tracked stats are updated.
 
'''Event [[OnUpdate - Form|OnUpdate]]()'''
*Received at periodic intervals, if the form is registered.
 
'''Event [[OnUpdateGameTime - Form|OnUpdateGameTime]]()'''
*Received at periodic intervals of game time, if the form is registered.
Anonymous user

Navigation menu