Difference between revisions of "EVENT TYPE GIFT ITEM"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(parameter from GameModeGUI.cpp)
m (Updating template)
 
Line 1: Line 1:
 
{{needs review}}
 
{{needs review}}
 
{{event
 
{{event
|sourcefile=script.ldf
+
|sourcefile   = script.ldf
|when=
+
|sourcemodule =
|from=
+
|sortkey      = GIFT_ITEM
|to=
+
|when         =  
|object0name=oItem
+
|from         =  
|object0desc=
+
|to           =
|creatorname=oHero
+
|tocategory1  =
 +
|tocategory2  =  
 +
|object0name = oItem
 +
|object0desc =
 +
|creatorname = oHero
 
}}
 
}}
 
[[Category:Event types|GIFT_ITEM]]
 

Latest revision as of 19:08, 21 August 2011

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;
}