Editing
ActiveMagicEffect Script
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Member Functions == '''[[AddInventoryEventFilter - ObjectReference|AddInventoryEventFilter]](Form ''akFilter'')''' *Adds an inventory event filter to this effect. '''[[Dispel - ActiveMagicEffect|Dispel]]()''' *Dispels this active magic effect. '''MagicEffect [[GetBaseObject - ActiveMagicEffect|GetBaseObject]]()''' *Obtains the [[MagicEffect Script|MagicEffect]] this active magic effect is based on. '''Actor [[GetCasterActor - ActiveMagicEffect|GetCasterActor]]() *Obtains the [[Actor Script|Actor]] that cast the spell this magic effect is from. '''Actor [[GetTargetActor - ActiveMagicEffect|GetTargetActor]]()''' *Obtains the [[Actor Script|Actor]] this active magic effect is applied to. '''[[RegisterForAnimationEvent - Form|RegisterForAnimationEvent]](ObjectReference ''akSender'', String ''asEventName'')''' *Registers this magic effect to receive the specified animation event from the specified object. '''[[RegisterForLOS - Form|RegisterForLOS]](Actor ''akViewer'', ObjectReference ''akTarget'')''' *Registers this magic effect to receive gain and lost LOS events between the viewer and the target. '''[[RegisterForSingleLOSGain - Form|RegisterForSingleLOSGain]](Actor ''akViewer'', ObjectReference ''akTarget'')''' *Registers this magic effect to receive a single LOS gain event when the viewer sees the target. '''[[RegisterForSingleLOSLost - Form|RegisterForSingleLOSLost]](Actor ''akViewer'', ObjectReference ''akTarget'')''' *Registers this magic effect to receive a single LOS lost event when the viewer loses sight of the target. '''[[RegisterForSingleUpdate - Form|RegisterForSingleUpdate]](Float ''afInterval'')''' *Registers this magic effect to receive a single update event in the specified time. '''[[RegisterForSingleUpdateGameTime - Form|RegisterForSingleUpdateGameTime]](Float ''afInterval'')''' *Registers this magic effect to receive a single update event in the specified number of game hours. '''[[RegisterForSleep - Form|RegisterForSleep]]()''' *Registers this magic effect to receive sleep events for when the player goes to sleep or wakes up. '''[[RegisterForTrackedStatsEvent - Form|RegisterForTrackedStatsEvent]]()''' *Registers this magic effect to receive tracked stats events for when tracked stats are updated. '''[[RegisterForUpdate - Form|RegisterForUpdate]](Float ''afInterval'')''' *Registers this magic effect to receive update events with the specified interval, or changes the update interval. '''[[RegisterForUpdateGameTime - Form|RegisterForUpdateGameTime]](Float ''afInterval'')''' *Registers this magic effect to receive update events with the specified interval in game time hours, or changes the update interval. '''[[RemoveAllInventoryEventFilters - ObjectReference|RemoveAllInventoryEventFilters]]()''' *Remove all inventory event filters on this effect. '''[[RemoveInventoryEventFilter - ObjectReference|RemoveInventoryEventFilter]](Form ''akFilter'')''' *Remove a specific inventory event filter. '''[[StartObjectProfiling - Form|StartObjectProfiling]]()''' *Starts profiling all scripts attached to this magic effect. '''[[StopObjectProfiling - Form|StopObjectProfiling]]()''' *Stops profiling all scripts attached to this magic effect. '''[[UnregisterForAnimationEvent - Form|UnregisterForAnimationEvent]](ObjectReference ''akSender'', String ''asEventName'')''' *Unregisters this magic effect from receiving the specified animation event from the specified object. '''[[UnregisterForLOS - Form|UnregisterForLOS]](Actor ''akViewer'', ObjectReference ''akTarget'')''' *Unregisters this magic effect from any LOS events between the viewer and target. '''[[UnregisterForSleep - Form|UnregisterForSleep]]()''' *Unregisters this magic effect from sleep events. '''[[UnregisterForTrackedStatsEvent - Form|UnregisterForTrackedStatsEvent]]()''' *Unregisters this magic effect from tracked stats events. '''[[UnregisterForUpdate - Form|UnregisterForUpdate]]()''' *Unregisters this magic effect from update events. '''[[UnregisterForUpdateGameTime - Form|UnregisterForUpdateGameTime]]() *Unregisters this magic effect from game time update events.
Summary:
Please note that all contributions to the CreationKit Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
CreationKit:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Landing page
Tutorials
Game Systems
Editor Reference
Scripting Reference
Recent changes
Help
Tools
What links here
Related changes
Special pages
Page information
Page values