Difference between revisions of "EVENT TYPE GIFT ITEM"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(parameter from rules_core)
(parameter from GameModeGUI.cpp)
Line 7: Line 7:
 
|object0name=oItem
 
|object0name=oItem
 
|object0desc=
 
|object0desc=
 +
|creatorname=oHero
 
}}
 
}}
  
 
[[Category:Event types|GIFT_ITEM]]
 
[[Category:Event types|GIFT_ITEM]]

Revision as of 19:58, 20 August 2009

The documentation on this page is incomplete, obsolete, or otherwise in need of a thorough review. The current content may provide a good starting point for this, but do not rely on its accuracy when using it to design content.

Source:
script.ldf
Sent when:
Sent from:
Sent to:
Parameters:

Usage

case EVENT_TYPE_GIFT_ITEM:
{
object oHero = GetEventCreator(ev); //
object oItem = GetEventObject(ev, 0); //

// insert event-handling code here

break;
}