Difference between revisions of "EVENT TYPE REMOVE EFFECT"

From Dragon Age Toolset Wiki
Jump to: navigation, search
Line 17: Line 17:
 
[[Category:Creature events|REMOVE_EFFECT]]
 
[[Category:Creature events|REMOVE_EFFECT]]
 
[[Category:Placeable events|REMOVE_EFFECT]]
 
[[Category:Placeable events|REMOVE_EFFECT]]
 +
[[Category:Effects]]

Revision as of 23:16, 15 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:
an effect is removed from the receiving object
Sent from:
engine
Sent to:
Parameters:
None.

Usage

case EVENT_TYPE_REMOVE_EFFECT:
{

// insert event-handling code here

break;
}

from SEffectHandler.cpp:

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