Difference between revisions of "SetQuickslot"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: re-import with default parameter value parameters set)
(remove tag)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=SetQuickslot
 
|name=SetQuickslot

Latest revision as of 22:22, 11 February 2010

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.