Description
Wiki Description
Is this actor currently detected by the other one?
Documentation Comment
Returns if this actor is detected by the other one
Caveats
CK Wiki - Notes
For an actor that isn’t hostile (ie wouldn’t attack the other), the first time you “poke” an actor asking about his detection, it essentially “wakes up” detection running on that actor but doesn’t actually check until the next time you poke him for detection. If you don’t poke him fast enough the second time, you’ll just “wake him up" again.
If you do it every second it should work.
Parameters
Examples
; Is the player detected by Nate?
bool nateSeesUs = Game.GetPlayer().IsDetectedBy(Nate)Auto-Generated Example
Actor myActor__akOther
bool returnedValue = myActor__toCallFunctionOn.IsDetectedBy(myActor__akOther)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
