CalcLowPathToPoint
From GECK
A console function in Fallout: New Vegas.
Description
Calculates the shortest path from the player to the calling reference, prints it in the console and draws it in form of a line on the ground.
Console Functions are normally exclusively for use in the in-game Console (accessible by pressing "~").
With JIP LN NVSE Plugin, any console function can be used in scripts with the Console function.
Syntax
refr.CalcLowPathToPoint ignoreLocks:int{0, 1} unused:int unused:int
Or:
refr.LP2P ignoreLocks:int{0, 1} unused:int unused:int
Example
SunnyREF.LP2P 1 0 0