Difference between revisions of "EVENT TYPE CAMPAIGN ITEM LOST"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) |
BryanDerksen (Talk | contribs) (formatting via template) |
||
Line 1: | Line 1: | ||
− | + | {{event | |
− | + | |when=An item is removed from the player's inventory that has the ITEM_SEND_LOST_EVENT variable set. | |
− | + | |to=module | |
− | + | |from=player_core | |
+ | |object0name=oItem | ||
+ | |object0desc=The item that's been lost. | ||
+ | }} | ||
[[Category:Event types|CAMPAIGN_ITEM_LOST]] | [[Category:Event types|CAMPAIGN_ITEM_LOST]] |
Revision as of 21:56, 23 July 2009
- Source:
- [Undocumented]
- 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;
}
{
object oItem = GetEventObject(ev, 0); // The item that's been lost.
// insert event-handling code here
break;
}