CanUseItem

From Dragon Age Toolset Wiki
Jump to: navigation, search

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