Difference between revisions of "EVENT TYPE REMOVE EFFECT"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m
Line 8: Line 8:
 
|sortkey=REMOVE_EFFECT
 
|sortkey=REMOVE_EFFECT
 
}}
 
}}
 +
 +
from SEffectHandler.cpp:
 +
 +
:pEvent->SetType( CSSCRIPTEVENT_EVENTTYPE_RULES_REMOVEEFFECT );
 +
:pEvent->SetData(0, pEffect);

Revision as of 21:45, 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 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);