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

Description

Documentation Comment

Register for only the first LOS gain event between the viewer and the target
If the viewer is already looking at the target, an event will be received almost immediately
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.RegisterForSingleLOSGain(myActor__akViewer, myObjectReference__akTarget)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.