Background for Skyrim SE
Member of the Form script
voidfunctionRegisterForSingleLOSLost(ActorakViewer, ObjectReferenceakTarget)Native

[DEV SERVER] Loading description...


Caveats

CK Wiki - Notes

  • See the notes for Form.RegisterForLOS(...) for limitations, speed considerations, and other notes.

Parameters

ActorakViewer

CK Wiki Description

The Actor that will be looking for the target.

ObjectReferenceakTarget

CK Wiki Description

The target the actor will be looking for. If the viewer is not the player, this must be an actor.


Examples

; Register for when the player looks away from the kettle
RegisterForSingleLOSLost(Game.GetPlayer(), Kettle)

Auto-Generated Example

Actor myActor__akViewer
ObjectReference myObjectReference__akTarget

myForm__toCallFunctionOn.RegisterForSingleLOSLost(myActor__akViewer, myObjectReference__akTarget)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.