Constant | Description |
---|
NW_FLAG_AMBIENT_ANIMATIONS | This will cause the NPC to play ambient animations until the NPC sees an enemy or is cleared. These animations will play automatically for encounter creatures. |
|
NW_FLAG_AMBIENT_ANIMATIONS_AVIAN | Causes the NPC to play avian ambient animations. |
|
NW_FLAG_APPEAR_SPAWN_IN_ANIMATION | Causes a spawn in animation to occur when the NPC spawns in. |
|
NW_FLAG_ATTACK_EVENT | Used to fire OnUserDefined event signal 1005. |
|
NW_FLAG_DAMAGED_EVENT | Used to fire OnUserDefined event signal 1006. |
|
NW_FLAG_DAY_NIGHT_POSTING | Causes the NPC to act appropriately for the time of the day. SetSpawnInCondition(NW_FLAG_SLEEPING_AT_NIGHT) to cause the NPC to sleep at night (40% chance) and walk a set of waypoints during the day. |
|
NW_FLAG_DEATH_EVENT | Used to fire OnUserDefined event signal 1007. |
|
NW_FLAG_DISTURBED_EVENT | Used to fire OnUserDefined event signal 1008. |
|
NW_FLAG_END_COMBAT_ROUND_EVENT | Used to fire OnUserDefined event signal 1003. |
|
NW_FLAG_ESCAPE_LEAVE | Flee to a waypoint and do not return. |
|
NW_FLAG_ESCAPE_RETURN | Causes the creature to flee to a waypoint and return a short time later. |
|
NW_FLAG_FAST_BUFF_ENEMY | This means that the creature will cast all the buff spells (summons, stat and armor improvements etc) instantaneously in preperation for combat.
Note: If TalentAdvancedBuff(40.0) returns TRUE, this flag is automatically disabled. |
|
NW_FLAG_HEARTBEAT_EVENT | Used to fire OnUserDefined event signal 1001. |
|
NW_FLAG_IMMOBILE_AMBIENT_ANIMATIONS | This will cause the NPC to play immobile ambient animations until the NPC sees an enemy or is cleared. These animations will play automatically for encounter creatures. |
|
NW_FLAG_ON_DIALOGUE_EVENT | Used to fire OnUserDefined event signal 1004. |
|
NW_FLAG_PERCIEVE_EVENT | Used to fire OnUserDefined event signal 1002. |
|
NW_FLAG_RESTED_EVENT | Used to fire OnUserDefined event signal (UNKNOWN). |
|
NW_FLAG_SEARCH | If the creature has search, it goes into search mode. |
|
NW_FLAG_SHOUT_ATTACK_MY_TARGET | Sets the listening pattern on the NPC to attack when allies call. |
|
NW_FLAG_SLEEPING_AT_NIGHT | Determines if the NPC sleeps at night. Use in conjuction with SetSpawnInCondition(NW_FLAG_DAY_NIGHT_POSTING) to cause the NPC to sleep at night (40% chance) or walk a set of waypoints during the day. |
|
NW_FLAG_SPECIAL_COMBAT_CONVERSATION | This causes the NPC to say a special greeting in their conversation file upon perceiving the player (OnPerceive event). Attach the [NW_D2_GenCheck.nss] script to the desired greeting in order to designate it. As the NPC is actually saying this to himself, don't attach any player responses to the greeting. |
|
NW_FLAG_SPECIAL_CONVERSATION | This causes the NPC to say a special greeting in their conversation file upon perceiving the player (OnPerceive event). Attach the [NW_D2_GenCheck.nss] script to the desired greeting in order to designate it. As the NPC is actually saying this to himself, don't attach any player responses to the greeting. |
|
NW_FLAG_SPELL_CAST_AT_EVENT | Used to fire OnUserDefined event signal 1011. |
|
NW_FLAG_STEALTH | If the NPC has stealth and they are a rogue, they go into stealth mode. |
|
NW_FLAG_TELEPORT_LEAVE | Teleport to safety and do no return. |
|
NW_FLAG_TELEPORT_RETURN | Teleport to safety and return a short time later. |
|