Background for Fallout 4
Member of the ScriptObject script
voidfunctionUnregisterForLOS(ObjectReferenceakViewer, ObjectReferenceakTarget)Native

[DEV SERVER] Loading description...


Caveats

CK Wiki - Notes

Aliases and quests will automatically unregister for this event when the quest stops. Active magic effects will automatically unregister when they are removed.


Parameters

ObjectReferenceakViewer

CK Wiki Description

The ObjectReference that was be looking for the target.

ObjectReferenceakTarget

CK Wiki Description

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


Examples

; Unregister for Joe seeing Bob
UnregisterForLOS(Joe, Bob)

Auto-Generated Example

ObjectReference myObjectReference__akViewer
ObjectReference myObjectReference__akTarget

myScriptObject__toCallFunctionOn.UnregisterForLOS(myObjectReference__akViewer, myObjectReference__akTarget)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.