Background for Skyrim SE
Member of the ActiveMagicEffect script
voidfunctionRegisterForLOS(ActorakViewer, ObjectReferenceakTarget)Native

Description

Documentation Comment

Register for LOS gain and lost events between the viewer and the target
A loss or gain event will be sent immediately, depending on whether or not the viewer is already looking at the target or not
If the viewer is not the player, the target must be another actor


Caveats


Parameters

ActorakViewer

ObjectReferenceakTarget


Examples

Auto-Generated Example

Actor myActor__akViewer
ObjectReference myObjectReference__akTarget

myActiveMagicEffect__toCallFunctionOn.RegisterForLOS(myActor__akViewer, myObjectReference__akTarget)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.