Background for Fallout 4
Member of the Actor script
voidfunctionSetAvoidPlayer(boolabAvoid=true)Native

[DEV SERVER] Loading description...


Caveats

CK Wiki - Notes

This relies on the actor having an AI process, and thus will do nothing if used on a disabled actor. If you do need to use this on actors who are initially disabled, you must call it after they have been enabled.


Parameters

boolabAvoid=true

CK Wiki Description

Whether to avoid the player when pathing.

  • Default:True

Examples

; Set MemoryDenFigment so that it can follow its path right through the player.
MemoryDenFigment.SetAvoidPlayer( false )

Auto-Generated Example

bool myBool__abAvoid

myActor__toCallFunctionOn.SetAvoidPlayer(myBool__abAvoid)

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.