NWNX:EE  8193.36.12
nwnx_player_qbs.nss File Reference

Helper script for quickbar management. More...

#include "nwnx_player"

Go to the source code of this file.

Functions

struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_Empty (int type=NWNX_PLAYER_QBS_TYPE_EMPTY)
 Create an empty QBS of given type. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_UseItem (object oItem, int nPropertyID=0)
 Create a QBS for using an item. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_EquipItem (object oItem, object oSecondaryItem=OBJECT_INVALID)
 Create a QBS for equipping an item. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_CastSpell (int nSpell, int nClassIndex=0, int nMetamagic=METAMAGIC_NONE, int nDomainLevel=-1)
 Create a QBS for casting a spell. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_UseSkill (int nSkill)
 Create a QBS for using a skill. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_UseFeat (int nFeat)
 Create a QBS for using a feat. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_StartDialog ()
 Create a QBS for starting a dialog. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_Attack ()
 Create a QBS for attacking. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_Emote (int nEmote)
 Create a QBS for emoting. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_ToggleMode (int nMode)
 Create a QBS for toggling a mode. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_Examine ()
 Create a QBS for examining. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_Barter ()
 Create a QBS for bartering. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_QuickChat (int nCommand)
 Create a QBS for quickchat command. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_PossessFamiliar ()
 Create a QBS for examining. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_UseSpecialAbility (int nSpell, int nCasterLevel)
 Create a QBS for casting a spell. More...
 
struct NWNX_Player_QuickBarSlot NWNX_Player_QBS_Command (string sCommandLabel, string sCommandLine)
 Create a QBS for running a command. More...
 

Variables

Quickbar Slot Types

const int NWNX_PLAYER_QBS_TYPE_EMPTY = 0
 
const int NWNX_PLAYER_QBS_TYPE_ITEM = 1
 
const int NWNX_PLAYER_QBS_TYPE_SPELL = 2
 
const int NWNX_PLAYER_QBS_TYPE_SKILL = 3
 
const int NWNX_PLAYER_QBS_TYPE_FEAT = 4
 
const int NWNX_PLAYER_QBS_TYPE_DIALOG = 6
 
const int NWNX_PLAYER_QBS_TYPE_ATTACK = 7
 
const int NWNX_PLAYER_QBS_TYPE_EMOTE = 8
 
const int NWNX_PLAYER_QBS_TYPE_ITEM_PROPERTY_CASTSPELL = 9
 
const int NWNX_PLAYER_QBS_TYPE_MODE_TOGGLE = 10
 
const int NWNX_PLAYER_QBS_TYPE_COMMAND = 18
 
const int NWNX_PLAYER_QBS_TYPE_POSSESS_FAMILIAR = 38
 
const int NWNX_PLAYER_QBS_TYPE_ASSOCIATE_COMMAND = 39
 
const int NWNX_PLAYER_QBS_TYPE_EXAMINE = 40
 
const int NWNX_PLAYER_QBS_TYPE_BARTER = 41
 
const int NWNX_PLAYER_QBS_TYPE_QUICK_CHAT = 42
 
const int NWNX_PLAYER_QBS_TYPE_CANCELPOLYMORPH = 43
 
const int NWNX_PLAYER_QBS_TYPE_SPELLLIKEABILITY = 44
 

Detailed Description

Helper script for quickbar management.

Definition in file nwnx_player_qbs.nss.