x0_i0_behavior

Library holding code for creature behaviors.

Constants

NameValueBrief Description
NW_FLAG_BEHAVIOR_CARNIVORE0x00000002Will always attack regardless of faction.
NW_FLAG_BEHAVIOR_HERBIVORE0x00000008Will never attack. Will alway flee.
NW_FLAG_BEHAVIOR_OMNIVORE0x00000004Will only attack if approached.
NW_FLAG_BEHAVIOR_SPECIAL0x00000001

Functions

NameBrief Description
GetBehaviorStateReturns TRUE if the specified behavior flag is set on the caller.
SetBehaviorStateAdd the specified condition flag to the behavior state of the caller.


  author: Mistress