GetProcessLevel

Revision as of 22:53, 8 August 2010 by imported>CSbot (Automated import of articles)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(processLevel:short) reference.GetProcessLevel

Returns the actor's current process level, or -1 if called on a non-actor. Process level determines how frequently the game updates an actor's AI. In general, high process actors are in the same cell as the player, while more distant actors are kept at a lower process level.


AI Process Level Codes

The following values are shorts that are used and/or returned by this function, as indicated by its Syntax. These values correspond to the listed AI process level:

 0	High
 1	Middle-high
 2	Middle-low
 3	Low