Difference between revisions of "EVENT TYPE CAST AT"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(add information from events_h)
Line 12: Line 12:
 
|float0name=fParam1
 
|float0name=fParam1
 
}}
 
}}
 +
[[Category:Event types|CAST_AT]]
 +
[[Category:Placeable events|CAST_AT]]

Revision as of 04:41, 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:
events_h
Sent when:
placeable is hit by a spell
Sent from:
engine
Sent to:
placeable
Parameters:

Usage

case EVENT_TYPE_CAST_AT:
{
int bHostile = GetEventInteger(ev, 0); //
int nAbilityId = GetEventInteger(ev, 1); //
float fParam1 = GetEventFloat(ev, 0); //
object oCaster = GetEventObject(ev, 0); //

// insert event-handling code here

break;
}