Difference between revisions of "ActiveMagicEffect Script"
Added a Special Edition Exclusive section with associated events.
imported>Terra Nova2 (→SKSE Member Functions: added RegisterForNiNodeUpdate and UnregisterForNiNodeUpdate) |
imported>Texashokies (Added a Special Edition Exclusive section with associated events.) |
||
(One intermediate revision by one other user not shown) | |||
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 138: | Line 137: | ||
*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 == | |||
'''[[OnNiNodeUpdate]](ObjectReference ''akActor'')''' | |||
== Notes == | == Notes == |