SetQuickslot

From Dragon Age Toolset Wiki
Revision as of 22:22, 11 February 2010 by BryanDerksen (Talk | contribs) (remove tag)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Sets or clears an ability in a creature's quickslot.

void SetQuickslot(
object oCreature,
int nSlot,
int nAbilityID,
string sItemTag = ""
);
Parameters:
oCreature
The creature
nSlot
The index of the slot to set, or -1 to use the first empty slot
nAbilityID
The ability ID to put in the slot (or 0 to clear)
sItemTag
An item tag in case the ability is linked to a specific item
Returns:

Nothing.

Source:

script.ldf

Description

Sets or clears an ability in a creature's quickslot.