Difference between revisions of "EVENT TYPE APPLY EFFECT"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(sortkey)
Line 1: Line 1:
 +
{{needs review}}
 
{{event
 
{{event
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
Line 12: Line 13:
 
*<b>Creator:</b> ???
 
*<b>Creator:</b> ???
 
*<b>Current Effect</b>{{undocumented}}: effect being applied
 
*<b>Current Effect</b>{{undocumented}}: effect being applied
 +
 +
 +
From SEffectHandler.cpp:
 +
 +
:pEvent->SetType( CSSCRIPTEVENT_EVENTTYPE_RULES_APPLYEFFECT );
 +
:pEvent->SetData(0, pEffect);

Revision as of 21:44, 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:
an effect is applied to the receiving object
Sent from:
engine
Sent to:
Parameters:
  • Creator: ???

Usage

case EVENT_TYPE_APPLY_EFFECT:
{

// insert event-handling code here

break;
}

Parameters:

  • Creator: ???
  • Current Effect[Undocumented]: effect being applied


From SEffectHandler.cpp:

pEvent->SetType( CSSCRIPTEVENT_EVENTTYPE_RULES_APPLYEFFECT );
pEvent->SetData(0, pEffect);