Difference between revisions of "EVENT TYPE CAMPAIGN ITEM ACQUIRED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(formatting)
(update template)
Line 3: Line 3:
 
|from=
 
|from=
 
|to= [[module]]
 
|to= [[module]]
 +
|tocategory1=module
 +
|sortkey=CAMPAIGN_ITEM_ACQUIRED
 
|creatorname=oAcquirer
 
|creatorname=oAcquirer
 
|creatordesc=item acquierer
 
|creatordesc=item acquierer
Line 8: Line 10:
 
|object0desc=the item that's been acquired
 
|object0desc=the item that's been acquired
 
}}
 
}}
 
[[Category:Event types|CAMPAIGN_ITEM_ACQUIRED]]
 

Revision as of 16:49, 6 August 2009

Source:
[Undocumented]
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;
}