SetQuickslot

From Dragon Age Toolset Wiki
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.