EVENT TYPE ITEM ONTEST USABLE
From Dragon Age Toolset Wiki
Revision as of 20:55, 3 January 2010 by KigenBarzhad (Talk | contribs)
The documentation on this page is incomplete, obsolete, or otherwise in need of a thorough review. The current content may provide a good starting point for this, but do not rely on its accuracy when using it to design content.
- Source:
- script.ldf
- Sent when:
- Sent from:
- Sent to:
- creatures
- Parameters:
-
- Integer 0: The item property that defines a restriction
- Object 0: [Undocumented]
- Object 1: [Undocumented]
Usage
case EVENT_TYPE_ITEM_ONTEST_USABLE:
{
int nRestriction = GetEventInteger(ev, 0); // The item property that defines a restriction
object oItem = GetEventObject(ev, 0); //
object oCreator = GetEventObject(ev, 1); //
// insert event-handling code here
break;
}
{
int nRestriction = GetEventInteger(ev, 0); // The item property that defines a restriction
object oItem = GetEventObject(ev, 0); //
object oCreator = GetEventObject(ev, 1); //
// insert event-handling code here
break;
}