NW_ASC_* Constant Group

Covers miscellaneous skills and settings not categorized into other subgroups. These are not actually constants, and do not exist in nwscript.nss.


Requirements

#include "x0_i0_assoc"


Constants

ConstantValueDescription
NW_ASC_DISARM_TRAPS0x00004000
Causes the NPC associate to automatically disarm traps that are spotted by the NPC or associated master.
NW_ASC_HAVE_MASTER0x80000000
Used to determine if an NPC associate currently has a master.
NW_ASC_IS_BUSY0x40000000
Used to determine if an NPC associate is currently busy. Busy only occurs when they are bashing or picking a lock.
NW_ASC_MASTER_GONE0x10000000
UNKNOWN
NW_ASC_MASTER_REVOKED0x20000000
UNKNOWN
NW_ASC_MODE_DEFEND_MASTER0x04000000
Used to set the NPC associate to guard the master. AttackNearest removes this setting if it is set.
NW_ASC_MODE_DYING0x00010000
Playing Dead mode, used to make sure the associate is not targeted while dying.
NW_ASC_MODE_STAND_GROUND0x08000000
Causes the NPC associate to ignore move to object during the OnHeartbeat event. If this is set to false, the NPC associate is in follow mode.
NW_ASC_OVERKILL_CASTING0x00000400
Causes the NPC associate to use the maximum combat rating spell currently available at their current level.
NW_ASC_POWER_CASTING0x00000800
Causes the NPC associate to use double combat rating spells, if available.
NW_ASC_RETRY_OPEN_LOCKS0x00000200
Automatically forces the NPC associate to retry opening a failed open lock attempt by the master ("I can pick that in no time!; Aye, its done!").
NW_ASC_SCALED_CASTING0x00001000
Causes the NPC associate to use spells at combat rating plus 4 (CR + 4), if available.
NW_ASC_USE_CUSTOM_DIALOGUE0x00002000
Causes the NPC associate to use a specified custom dialogue conversation script.
NW_ASC_USE_RANGED_WEAPON0x00008000
Causes the NPC associate to use ranged weapons instead of melee attacks. When setting this state, its also probably a good idea to enable NW_ASC_DISTANCE_6_METERS for following distance.

See Also

functions: GetAssociateState | SetAssociateState