SetCanUseItem

From Dragon Age Toolset Wiki
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