Difference between revisions of "ActiveMagicEffect Script"

788 bytes added ,  20:00, 3 October 2017
Added a Special Edition Exclusive section with associated events.
imported>Terra Nova2
(added SKSE Event OnNiNodeUpdate)
imported>Texashokies
(Added a Special Edition Exclusive section with associated events.)
 
Line 86: Line 86:
'''[[UnregisterForUpdateGameTime - Form|UnregisterForUpdateGameTime]]()
'''[[UnregisterForUpdateGameTime - Form|UnregisterForUpdateGameTime]]()
*Unregisters this magic effect from game time update events.
*Unregisters this magic effect from game time update events.


== SKSE Member Functions ==
== SKSE Member Functions ==
Line 137: Line 136:
'''[[OnUpdateGameTime - Form|OnUpdateGameTime]]()
'''[[OnUpdateGameTime - Form|OnUpdateGameTime]]()
*Received at periodic intervals of game time, if the magic effect is registered.
*Received at periodic intervals of game time, if the magic effect is registered.
== Special Edition Exclusive Events ==
'''[[OnLycanthropyStateChanged - ActiveMagicEffect|OnLycanthropyStateChanged]](Bool ''abIsWerewolf'')'''
*Received when the lycanthropy state of this actor changes (when SendLycanthropyStateChanged is called)
'''[[OnPlayerFastTravelEnd - ActiveMagicEffect|OnPlayerFastTravelEnd]](Float ''afTravelGameTimeHours'')'''
*Received when the player finishes fast travel, gives the duration of game time the travel took
'''[[OnVampirismStateChanged - ActiveMagicEffect|OnVampirismStateChanged]](bool ''abIsVampire'')'''
*Received when the vampirism state of this actor changes (when SendVampirismStateChanged is called)
'''[[OnVampireFeed - ActiveMagicEffect|OnVampireFeed]](Actor ''akTarget'')'''
*Received when StartVampireFeed is called on an actor


== SKSE Events ==
== SKSE Events ==
Anonymous user