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
Constant
|
Value
|
Description
|
NW_ASC_DISARM_TRAPS
|
0x00004000
|
Causes the NPC associate to automatically disarm traps that are spotted by the NPC or associated master.
|
|
NW_ASC_HAVE_MASTER
|
0x80000000
|
Used to determine if an NPC associate currently has a master.
|
|
NW_ASC_IS_BUSY
|
0x40000000
|
Used to determine if an NPC associate is currently busy. Busy only occurs when they are bashing or picking a lock.
|
|
NW_ASC_MASTER_GONE
|
0x10000000
|
|
NW_ASC_MASTER_REVOKED
|
0x20000000
|
|
NW_ASC_MODE_DEFEND_MASTER
|
0x04000000
|
Used to set the NPC associate to guard the master. AttackNearest removes this setting if it is set.
|
|
NW_ASC_MODE_DYING
|
0x00010000
|
Playing Dead mode, used to make sure the associate is not targeted while dying.
|
|
NW_ASC_MODE_STAND_GROUND
|
0x08000000
|
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_CASTING
|
0x00000400
|
Causes the NPC associate to use the maximum combat rating spell currently available at their current level.
|
|
NW_ASC_POWER_CASTING
|
0x00000800
|
Causes the NPC associate to use double combat rating spells, if available.
|
|
NW_ASC_RETRY_OPEN_LOCKS
|
0x00000200
|
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_CASTING
|
0x00001000
|
Causes the NPC associate to use spells at combat rating plus 4 (CR + 4), if available.
|
|
NW_ASC_USE_CUSTOM_DIALOGUE
|
0x00002000
|
Causes the NPC associate to use a specified custom dialogue conversation script.
|
|
NW_ASC_USE_RANGED_WEAPON
|
0x00008000
|
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