SetCanUseItem

From Dragon Age Toolset Wiki
Revision as of 23:59, 10 February 2010 by BryanDerksen (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Sets whether the creature satifies a retriction property. This is used only as a response to the EVENT_TYPE_ITEM_ONTEST_USABLE event.

void SetCanUseItem(
object oCreature,
int value
);
Parameters:
oCreature
Creature whose usability restriction is to be set
value
True if the creature can use the item, false otherwise
Returns:

Nothing.

Source:

script.ldf

Description