Difference between revisions of "UnequipItem"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(fixed generated errors)
 
Line 1: Line 1:
{{Generated with errors}}
 
 
{{dafunction
 
{{dafunction
 
|name=UnequipItem
 
|name=UnequipItem
Line 5: Line 4:
 
|param1type=object
 
|param1type=object
 
|param1name=oObject
 
|param1name=oObject
|param1desc=The object to have its weapon set switched
+
|param1desc=The creature to uneqiup the item from.
 
|param2type=object
 
|param2type=object
 
|param2name=oItem
 
|param2name=oItem
|param2desc=
+
|param2desc=The item to unequip.
 
|returntype=int
 
|returntype=int
|returndesc=
+
|returndesc=Returns 0 upon any kind of error.
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
 
|sourcemodule=
 
|sourcemodule=

Latest revision as of 06:20, 20 November 2009

Unequips an item from a creature

int UnequipItem(
object oObject,
object oItem
);
Parameters:
oObject
The creature to uneqiup the item from.
oItem
The item to unequip.
Returns:

Returns 0 upon any kind of error.

Source:

script.ldf

Description

Removes an item from the equip slots and puts it in the inventory. If there is any kind of error, this will return 0.