GetActorProcessingLevel

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the current AI/script processing-level of the calling actor. The returned value ranges from 0 to 3:

  • 0 (High): The actor is processed every frame.
  • 1 (Mid-High): The actor is processed every ~18 seconds.
  • 2 (Mid-Low): Unknown at this time.
  • 3 (Low): The actor is processed every ~120 seconds.

If the actor's Base Process isn't loaded, which can occur if it is disabled, returns -1.

Syntax

[help]
(processingLvl:int) reference.GetActorProcessingLevel

Example

set iProcLevel to actorRef.GetActorProcessingLevel 

See Also