EvaluatePackage

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

EvaluatePackage or "evp" forces the actor to reevaluate its package list.

Syntax

[help]
[ActorRefID].EvaluatePackage 

Or:

[ActorRefID].evp

Example

BuffyRef.EvaluatePackage
BuffyRef.evp 

Notes

  • If the actor is on a package flagged as must complete or must reach location, EVP will still drop that package and force a reevaluation of the package list.
  • EvaluatePackage will not modify any other AI behavior (combat, pathing). If you want to reset all AI on an actor, use the ResetAI command.
  • This function should be used sparingly as it can be slow if the actor has a long list of packages and conditions to test.
  • Avoid calling evp at times when the actor is already updating his AI, such as immediately after removeScriptPackage or forceFlee is called. Otherwise the game may crash.

See Also