EVENT TYPE CAMPAIGN ITEM ACQUIRED

From Dragon Age Toolset Wiki
Jump to: navigation, search
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;
}