EVENT TYPE CAMPAIGN ITEM LOST

From Dragon Age Toolset Wiki
Revision as of 04:30, 3 January 2010 by KigenBarzhad (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Source:
events_h
Sent when:
An item is removed from the player's inventory that has the ITEM_SEND_LOST_EVENT variable set.
Sent from:
player_core
Sent to:
module
Parameters:
  • Object 0: The item that's been lost.

Usage

case EVENT_TYPE_CAMPAIGN_ITEM_LOST:
{
object oItem = GetEventObject(ev, 0); // The item that's been lost.

// insert event-handling code here

break;
}