Nw flag behavior

From NWN Lexicon
Jump to navigationJump to search

NW_FLAG_BEHAVIOR_* Constant Group

Determines how an NPC reacts, irregardless of faction.


Requirements

#include " x0_i0_behavior "


Constants

Constant Value Description
NW_FLAG_BEHAVIOR_CARNIVORE 0x00000002
The NPC will always attack regardless of faction.
NW_FLAG_BEHAVIOR_HERBIVORE 0x00000008
The NPC will never attack and will always flee.
NW_FLAG_BEHAVIOR_OMNIVORE 0x00000004
The NPC will only attack if approached.
NW_FLAG_BEHAVIOR_SPECIAL 0x00000001
UNKNOWN


See Also

functions: 

SetBehaviorState