MoveToNearestNavmeshLocation - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Moves this reference to the nearest location that's on a Navmesh that an actor could reach by walking.

Syntax[edit | edit source]

Function MoveToNearestNavmeshLocation() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Reposition MarkerRef so that it's on the nearest Navmesh.
MarkerRef.MoveToNearestNavmeshLocation()

See Also[edit | edit source]