Difference between revisions of "CanUseItem"

From Dragon Age Toolset Wiki
Jump to: navigation, search
Line 27: Line 27:
  
 
[[Category: Creature function]]
 
[[Category: Creature function]]
[[Category:Items function]]
+
[[Category:Items functions]]

Revision as of 23:53, 10 February 2010

Returns whether the creature satifies *all* the requirements for using the item

int CanUseItem(
object oCreature,
object oItem
);
Parameters:
oCreature
The creature whose suitability is to be tested
oItem
The item to test whether the creature can use
Returns:

True if the creature can use it, false otherwise

Source:

script.ldf