X0 i0 behavior

From NWN Lexicon



[edit] x0_i0_behavior

Library holding code for creature behaviors.

[edit] Constants

Name Value Brief Description
NW_FLAG_BEHAVIOR_CARNIVORE 0x00000002 Will always attack regardless of faction.
NW_FLAG_BEHAVIOR_HERBIVORE 0x00000008 Will never attack. Will alway flee.
NW_FLAG_BEHAVIOR_OMNIVORE 0x00000004 Will only attack if approached.
NW_FLAG_BEHAVIOR_SPECIAL 0x00000001


[edit] Functions

Name Brief Description

GetBehaviorState

Returns TRUE if the specified behavior flag is set on the caller.

SetBehaviorState

Add the specified condition flag to the behavior state of the caller.



  author: Mistress

Personal tools
Categories