Difference between revisions of "EVENT TYPE CRAFT ITEM"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Created page with '{{needs review}} {{event |sourcefile=script.ldf |when= |from= |to= }} CRAFT_ITEM')
 
m (categoryt)
 
(4 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
{{event
 
{{event
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
|when=
+
|when=Whenever the player successfully crafts and item.
|from=
+
|from=[[engine]]
|to=
+
|to=[[module]]
 +
|object0name=oCrafter
 +
|tocategory1=module
 +
|sortkey=CRAFT_ITEM
 
}}
 
}}
 
[[Category:Event types|CRAFT_ITEM]]
 

Latest revision as of 01:05, 12 February 2010

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:
Whenever the player successfully crafts and item.
Sent from:
engine
Sent to:
module
Parameters:

Usage

case EVENT_TYPE_CRAFT_ITEM:
{
object oCrafter = GetEventObject(ev, 0); //

// insert event-handling code here

break;
}