Background for Fallout 4
Member of the Actor script
boolfunctionHasDetectionLOS(ObjectReferenceakOther)Native

[DEV SERVER] Loading description...


Caveats


Parameters

ObjectReferenceakOther

CK Wiki Description

The object to check line-of-sight to.


Examples

; Can the player see bob?
if (Game.GetPlayer().HasDetectionLOS(Bob_Alias.GetReference()))
  Debug.Trace("The player can see Bob")
endIf

Auto-Generated Example

ObjectReference myObjectReference__akOther

bool returnedValue = myActor__toCallFunctionOn.HasDetectionLOS(myObjectReference__akOther)

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.