Difference between revisions of "Alias Script"
Jump to navigation
Jump to search
→Events
imported>Jog |
imported>Jog (→Events) |
||
Line 74: | Line 74: | ||
== Events == | == Events == | ||
'''Event [[OnAnimationEvent - Form|OnAnimationEvent]](ObjectReference akSource, string asEventName)''' | |||
*Received when one of animation events we are listening for is received. | |||
'''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 [[OnGainLOS - Form|OnGainLOS]](Actor akViewer, ObjectReference akTarget)''' | |||
*Received when the viewer goes from not seeing the target to seeing the target - if this alias is registered. | |||
'''Event [[OnLostLOS - Form|OnLostLOS]](Actor akViewer, ObjectReference akTarget)''' | |||
*Received when the viewer goes from seeing the target to not seeing the target - if this alias is registered. | |||
'''Event [[OnReset - ObjectReference|OnReset]]()''' | |||
*Event received when this object is reset (usually when the quest the alias is attached to starts up). | |||
'''Event [[OnSleepStart - Form|OnSleepStart]](float afSleepStartTime, float afDesiredSleepEndTime)''' | |||
*Received when the player goes to sleep. | |||
'''Event [[OnSleepStop - Form|OnSleepStop]](bool abInterrupted)''' | |||
*Received when the player wakes up or is interrupted in sleep. | |||
'''Event [[OnTrackedStatsEvent - Form|OnTrackedStatsEvent]](string asStat, int aiStatValue)''' | |||
*Received when tracked stats are updated. | |||
'''Event [[OnUpdate - Form|OnUpdate]]()''' | |||
*Received at periodic intervals, if the alias is registered. | |||
'''Event [[OnUpdateGameTime - Form|OnUpdateGameTime]]()''' | |||
*Received at periodic intervals of game time, if the alias is registered. | |||
==Notes== | ==Notes== | ||
*This object is often confused with [[ReferenceAlias Script]]. You probably mean to be using that. | *This object is often confused with [[ReferenceAlias Script]]. You probably mean to be using that. |