Difference between revisions of "EVENT TYPE CRAFT ITEM"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (missing the link brackets)
Line 2: Line 2:
 
{{event
 
{{event
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
|when=
+
|when=Whenever the player successfully crafts and item.
 
|from=[[engine]]
 
|from=[[engine]]
 
|to=[[module]]
 
|to=[[module]]
Line 9: Line 9:
  
 
[[Category:Event types|CRAFT_ITEM]]
 
[[Category:Event types|CRAFT_ITEM]]
 +
[[Category:Module events|CRAFT_ITEM]]

Revision as of 05:09, 3 January 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;
}