Mod:Creation Kit/SetAvoidPlayer - Actor

Member of: Mod:Creation Kit/Actor Script

Tells actors whether they need to avoid the player when pathing. (By default, they do, so this does nothing relevant unless the abAvoid parameter is false.)

Created to support scenes where the player is meant to be an incorporeal observer, such as the "memory den" scenes in Fallout 4.

Syntax
Function SetAvoidPlayer(bool abAvoid = true) native

Parameters

 * abAvoid : Whether to avoid the player when pathing.
 * Default: True

Return Value
None.

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