Difference between revisions of "SetQuickslot"
From Dragon Age Toolset Wiki
(Generated by Sunjammer's Dragon Age Script Paser) |
BryanDerksen (Talk | contribs) (remove tag) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=SetQuickslot | |name=SetQuickslot | ||
Line 6: | Line 5: | ||
|param1name=oCreature | |param1name=oCreature | ||
|param1desc=The creature | |param1desc=The creature | ||
+ | |param1default= | ||
|param2type=int | |param2type=int | ||
|param2name=nSlot | |param2name=nSlot | ||
|param2desc=The index of the slot to set, or -1 to use the first empty slot | |param2desc=The index of the slot to set, or -1 to use the first empty slot | ||
+ | |param2default= | ||
|param3type=int | |param3type=int | ||
|param3name=nAbilityID | |param3name=nAbilityID | ||
|param3desc=The ability ID to put in the slot (or 0 to clear) | |param3desc=The ability ID to put in the slot (or 0 to clear) | ||
+ | |param3default= | ||
|param4type=string | |param4type=string | ||
|param4name=sItemTag | |param4name=sItemTag | ||
|param4desc=An item tag in case the ability is linked to a specific item | |param4desc=An item tag in case the ability is linked to a specific item | ||
+ | |param4default="" | ||
|returntype=void | |returntype=void | ||
|returndesc= | |returndesc= |
Latest revision as of 22:22, 11 February 2010
Sets or clears an ability in a creature's quickslot.
- 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.