Difference between revisions of "EVENT TYPE CAST AT"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (split off of event) |
BryanDerksen (Talk | contribs) m (remove redudnant category) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Needs review}} | |
− | + | {{event | |
− | + | |sourcefile=events_h | |
− | + | |when=placeable is hit by a spell | |
− | + | |from=[[engine]] | |
− | + | |to=[[placeable]] | |
− | + | |tocategory1=placeable | |
+ | |sortkey=CAST_AT | ||
+ | |object0name=oCaster | ||
+ | |int0name=bHostile | ||
+ | |int1name=nAbilityId | ||
+ | |float0name=fParam1 | ||
+ | }} |
Latest revision as of 00:54, 12 February 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:
-
- Integer 0: [Undocumented]
- Integer 1: [Undocumented]
- Float 0: [Undocumented]
- Object 0: [Undocumented]
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;
}
{
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;
}