SetPathNodeDisabled

From the Oblivion ConstructionSet Wiki
Revision as of 12:36, 7 July 2012 by imported>QQuix (New page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.