SetPathNodeDisabled

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(nothing) SetPathNodeDisabled nodeID:int   disable:bool

Enables or disables the specified path node.

This node will no longer be used in future pathfinding attempts, but actors who have already built a path including this node may continue along it normally.

If this is undesirable, calling EvaluatePackage on the actor will force it to build a new path.