MoveToNearestNavmeshLocation - ObjectReference
From Creation Kit
Member of: ObjectReference Script
Moves this reference to the nearest location that's on a Navmesh that an actor could reach by walking.
Syntax
Function MoveToNearestNavmeshLocation() native
Parameters
None.
Return Value
None.
Examples
; Reposition MarkerRef so that it's on the nearest Navmesh. MarkerRef.MoveToNearestNavmeshLocation()