Difference between revisions of "EVENT TYPE CAMPAIGN ITEM ACQUIRED"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (update template) |
BryanDerksen (Talk | contribs) m (|sourcefile=events_h) |
||
Line 1: | Line 1: | ||
{{event | {{event | ||
+ | |sourcefile=events_h | ||
|when= items with the ITEM_ACQUIRED_EVENT_ID variable set are picked up. | |when= items with the ITEM_ACQUIRED_EVENT_ID variable set are picked up. | ||
|from= | |from= |
Latest revision as of 23:10, 18 August 2009
- Source:
- events_h
- Sent when:
- items with the ITEM_ACQUIRED_EVENT_ID variable set are picked up.
- Sent from:
- Sent to:
- module
- Parameters:
-
- Creator: item acquierer
- Object 0: the item that's been acquired
Usage
case EVENT_TYPE_CAMPAIGN_ITEM_ACQUIRED:
{
object oAcquirer = GetEventCreator(ev); // item acquierer
object oItemAcquired = GetEventObject(ev, 0); // the item that's been acquired
// insert event-handling code here
break;
}
{
object oAcquirer = GetEventCreator(ev); // item acquierer
object oItemAcquired = GetEventObject(ev, 0); // the item that's been acquired
// insert event-handling code here
break;
}