AI_LEVEL_* Constant Group

Determines the AI (artificial intelligence) level of a creature controlled by the computer. The AI level determines how "smart" the creature is by how much CPU time is given to it.



Constants

ConstantDescription
AI_LEVEL_DEFAULT
Default game-specified setting. The game will apply the appropriate AI setting as necessary.
AI_LEVEL_HIGH
High priority, smartest AI, but extremely high CPU usage required for AI. Avoid using this except during a cut-scene.
AI_LEVEL_INVALID
Invalid AI level setting.
AI_LEVEL_LOW
Low priority, mildly stupid, but slightly more CPU usage for AI. Typically used when not in combat, but a player is in the area.
AI_LEVEL_NORMAL
Normal priority, average AI, but more CPU usage required for AI. Typically used when creature is in combat.
AI_LEVEL_VERY_HIGH
AI_LEVEL_VERY_LOW
Very Low priority, very stupid, but low CPU usage for AI. Typically used when no players are in the area.

See Also

functions: GetAILevel | SetAILevel


 Send comments on this topic.