Sets an NPC's behavior.
Status of nCondition behavior (on/off). (Default: TRUE)
Behavior of NPC is turned on/off by use of bValid. Behaviors follow the NW_FLAG_BEHAVIOR_* constant list.
Some reports of SetBehaviorState auto-switching bValid have been seen.
|functions:||DetermineSpecialBehavior | GetBehaviorState|
|categories:||Core AI Functions | Targeting Functions|
|events:||OnPerception Event | OnSpawn Event|
author: Jody Fletcher, editor: Charles Feduke, Mistress, additional contributor(s): Kai