This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "SetNoAvoidance"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Fella
imported>Vswe
m (Added Search Terms)
 
Line 22: Line 22:
[[Category: AI Functions]]
[[Category: AI Functions]]
[[Category: AI Functions (CS 1.0)]]
[[Category: AI Functions (CS 1.0)]]
<!-- Begin Search Terms
set
No
Avoidance
End Search Terms -->

Latest revision as of 15:57, 20 June 2008

Syntax:

SetNoAvoidance [0/1]


This is one of 4 functions which can be used to increase the game's performance in situations where many actors are in combat or otherwise doing complex pathing. Note that the flag is cleared every frame, so this function needs to be called in a script running on a reference in the loaded area.


When the SetNoAvoidance flag is set, actors do not perform avoid box movement. Actors do not open doors or angle away from each other.


See Also[edit | edit source]

SetSceneIsComplex

SetAllReachable

SetAllVisible