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. To use these, you must include nw_i0_generic.
Constants
Constant | Description |
---|
NW_ASC_DISARM_TRAPS | Causes the NPC associate to automatically disarm traps that are spotted by the NPC or associated master. |
|
NW_ASC_HAVE_MASTER | Used to determine if an NPC associate currently has a master. |
|
NW_ASC_IS_BUSY | 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 | |
NW_ASC_MASTER_REVOKED | |
NW_ASC_MODE_DEFEND_MASTER | Used to set the NPC associate to guard the master. AttackNearest removes this setting if it is set. |
|
NW_ASC_MODE_STAND_GROUND | 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 | Causes the NPC associate to use the maximum combat rating spell currently available at their current level. |
|
NW_ASC_POWER_CASTING | Causes the NPC associate to use double combat rating spells, if available. |
|
NW_ASC_RETRY_OPEN_LOCKS | 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 | Causes the NPC associate to use spells at combat rating plus 4 (CR + 4), if available. |
|
NW_ASC_USE_CUSTOM_DIALOGUE | Causes the NPC associate to use a specified custom dialogue conversation script. |
|
NW_ASC_USE_RANGED_WEAPON | 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
Send comments on this topic.